kernel_optimize_test/drivers/hid
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
..
usbhid USB: fix usb_reset_device and usb_reset_composite_device(take 3) 2008-07-21 15:16:33 -07:00
hid-core.c hid-core: use get_unaligned_* helpers 2008-04-29 08:06:27 -07:00
hid-debug.c HID: remove CVS keywords 2008-05-20 16:44:43 +02:00
hid-input-quirks.c HID: fix sparse warnings 2008-04-22 11:34:57 +02:00
hid-input.c HID: remove CVS keywords 2008-05-20 16:44:43 +02:00
hidraw.c HID: cdev lock_kernel() pushdown 2008-06-20 14:05:47 -06:00
Kconfig HID: add hidraw interface 2007-10-14 14:47:26 +02:00
Makefile HID: refactor mapping to input subsystem for quirky devices 2008-01-28 14:51:20 +01:00