forked from luck/tmp_suning_uos_patched
742120c631
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> |
||
---|---|---|
.. | ||
hid-core.c | ||
hid-ff.c | ||
hid-lg2ff.c | ||
hid-lgff.c | ||
hid-pidff.c | ||
hid-plff.c | ||
hid-quirks.c | ||
hid-tmff.c | ||
hid-zpff.c | ||
hiddev.c | ||
Kconfig | ||
Makefile | ||
usbhid.h | ||
usbkbd.c | ||
usbmouse.c |