]> err.no Git - linux-2.6/commit
USB: px2xx_udc bugfix, missing check for gpio_pullup
authorDavid Brownell <david-b@pacbell.net>
Wed, 1 Aug 2007 19:45:36 +0000 (12:45 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Aug 2007 21:27:43 +0000 (14:27 -0700)
commit8c273033906f8e85d54cb6ae052050f109440171
treeeff9701d0a4570b8047e1e6ee817b35626c4717f
parent74e8f346d59074147c564d9c1ffd6caf18286516
USB: px2xx_udc bugfix, missing check for gpio_pullup

git commit b2bbb20b37d734443d1c279d0033a64f6095db54 added direct
support for PXA GPIO D+ pullup as alternative to the older udc_command
ops method.  This was done by introduction of the pxa2xx_udc_mach_info
member "gpio_pullup" which, if initialized, is now used in (almost)
all places where udc_command used to be called.

This patch fixes two places where checks for availability of D+ pullup
control still only honor udc_command.

Signed-off-by: Uli Luckas <u.luckas@road.de>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/pxa2xx_udc.c