kernel_optimize_test/drivers/hid/usbhid
Ming Lei 742120c631 USB: fix usb_reset_device and usb_reset_composite_device(take 3)
This patch renames the existing usb_reset_device in hub.c to
usb_reset_and_verify_device and renames the existing
usb_reset_composite_device to usb_reset_device. Also the new
usb_reset_and_verify_device does't need to be EXPORTED .

The idea of the patch is that external interface driver
should warn the other interfaces' driver of the same
device before and after reseting the usb device. One interface
driver shoud call _old_ usb_reset_composite_device instead of
_old_ usb_reset_device since it can't assume the device contains
only one interface. The _old_ usb_reset_composite_device
is safe for single interface device also. we rename the two
functions to make the change easily.

This patch is under guideline from Alan Stern.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
2008-07-21 15:16:33 -07:00
..
hid-core.c USB: fix usb_reset_device and usb_reset_composite_device(take 3) 2008-07-21 15:16:33 -07:00
hid-ff.c HID: force feedback driver for Logitech Rumblepad 2 2008-04-22 11:34:57 +02:00
hid-lg2ff.c HID: force feedback driver for Logitech Rumblepad 2 2008-04-22 11:34:57 +02:00
hid-lgff.c HID: make debugging output runtime-configurable 2007-07-09 14:03:35 +02:00
hid-pidff.c HID: fix autocentering of PID devices 2007-07-09 14:13:35 +02:00
hid-plff.c HID: use hid-plff driver for GreenAsia 0e8f:0003 devices 2007-10-14 13:40:01 +02:00
hid-quirks.c HID: Add iMON LCDs to blacklist 2008-05-20 16:44:43 +02:00
hid-tmff.c HID: fix a potential bug in pointer casting 2008-01-28 14:51:19 +01:00
hid-zpff.c HID: make debugging output runtime-configurable 2007-07-09 14:03:35 +02:00
hiddev.c HID: fix build failure in hiddev_ioctl with gcc 3.2 2008-04-22 11:34:56 +02:00
Kconfig HID: ThrustMaster FF driver is no longer experimental 2008-04-22 11:34:58 +02:00
Makefile HID: force feedback driver for Logitech Rumblepad 2 2008-04-22 11:34:57 +02:00
usbhid.h HID: move wait from hid to usbhid 2008-04-22 11:34:57 +02:00
usbkbd.c HID: remove CVS keywords 2008-05-20 16:44:43 +02:00
usbmouse.c HID: remove CVS keywords 2008-05-20 16:44:43 +02:00