kernel_optimize_test/drivers/hid
Jiri Slaby e3e14de50d HID: fix start/stop cycle in usbhid driver
`stop' left out usbhid->urb* pointers and so the next `start' thought
it needs to allocate nothing and used the memory pointers previously
pointed to. This led to memory corruption and device malfunction.

Also don't forget to clear disconnect flag on start which was left set
by the previous `stop'.

This fixes

	echo DEVICE > /sys/bus/hid/drivers/DRIVER/unbind
	echo DEVICE > /sys/bus/hid/drivers/DRIVER/bind

failures.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2008-11-13 10:31:36 +01:00
..
usbhid HID: fix start/stop cycle in usbhid driver 2008-11-13 10:31:36 +01:00
hid-a4tech.c HID: move connect quirks 2008-10-14 23:50:56 +02:00
hid-apple.c HID: map macbook keys for "Expose" and "Dashboard" 2008-11-13 10:31:36 +01:00
hid-belkin.c HID: move connect quirks 2008-10-14 23:50:56 +02:00
hid-bright.c HID: add support for Bright ABNT2 brazilian device 2008-10-14 23:51:04 +02:00
hid-cherry.c HID: move cherry quirks 2008-10-14 23:50:52 +02:00
hid-chicony.c HID: move chicony quirks 2008-10-14 23:50:53 +02:00
hid-core.c HID: use single threaded work queue for hid_compat 2008-11-13 10:31:36 +01:00
hid-cypress.c HID: move connect quirks 2008-10-14 23:50:56 +02:00
hid-debug.c HID: remove CVS keywords 2008-05-20 16:44:43 +02:00
hid-dell.c HID: add quirk entry for no-name keyboard (0x13ba/0x0017) 2008-10-30 01:06:13 +01:00
hid-dummy.c HID: add support for Bright ABNT2 brazilian device 2008-10-14 23:51:04 +02:00
hid-ezkey.c HID: move ezkey quirks 2008-10-14 23:50:52 +02:00
hid-gyration.c HID: add support for another Gyration remote control 2008-10-17 15:51:35 +02:00
hid-ids.h HID: support for new unibody macbooks 2008-11-13 10:31:36 +01:00
hid-input.c HID: move connect quirks 2008-10-14 23:50:56 +02:00
hid-lg2ff.c HID: convert to dev_* prints 2008-10-14 23:51:01 +02:00
hid-lg.c Revert "HID: Invert HWHEEL mappings for some Logitech mice" 2008-10-17 11:55:44 +02:00
hid-lg.h HID: move logitech FF processing 2008-10-14 23:50:56 +02:00
hid-lgff.c HID: Autocentering support for Logitech MOMO Racing Wheel 2008-10-14 23:50:58 +02:00
hid-microsoft.c HID: move connect quirks 2008-10-14 23:50:56 +02:00
hid-monterey.c HID: move monterey quirks 2008-10-14 23:50:53 +02:00
hid-petalynx.c HID: move connect quirks 2008-10-14 23:50:56 +02:00
hid-pl.c HID: convert to dev_* prints 2008-10-14 23:51:01 +02:00
hid-samsung.c HID: move connect quirks 2008-10-14 23:50:56 +02:00
hid-sony.c HID: Add support for Sony Vaio VGX-TP1E 2008-10-23 12:58:38 +02:00
hid-sunplus.c HID: move sunplus quirks 2008-10-14 23:50:51 +02:00
hid-tmff.c HID: convert to dev_* prints 2008-10-14 23:51:01 +02:00
hid-zpff.c HID: convert to dev_* prints 2008-10-14 23:51:01 +02:00
hidraw.c HID: fix locking in hidraw_open() 2008-11-13 10:31:35 +01:00
Kconfig HID: Remove "default m" for Thrustmaster and Zeroplus 2008-10-19 20:34:31 +02:00
Makefile HID: add support for Bright ABNT2 brazilian device 2008-10-14 23:51:04 +02:00