]> err.no Git - linux-2.6/commit
USB: Fix pxa27x_udc usb speed handling.
authorRobert Jarzmik <robert.jarzmik@free.fr>
Mon, 11 Aug 2008 16:28:13 +0000 (18:28 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Aug 2008 17:26:33 +0000 (10:26 -0700)
commitbf31338bfd5d04434adf2294255847bb7dad687a
tree496a3b17162b3d16ef059ea3cd3fcc390b4bad96
parentc8fd2c37b99c55c8d24888e0ed9d5f4f73458c9c
USB: Fix pxa27x_udc usb speed handling.

The new composite framework revealed a weakness in the
pxa27x_udc driver gadget register function. Instead of
checking if speed asked for was USB_LOW_SPEED upon
usb_gadget_register() to deny service, it checked only
for USB_FULL_SPEED, thus denying service to usb high
speed capable gadgets (like g_ether).

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/pxa27x_udc.c