android_kernel_motorola_sm6375/drivers/hid
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Alan Stern fde4e2f732 HID: fix suspend crash by moving initializations earlier
Although the usbhid driver allocates its usbhid structure in the probe
routine, several critical fields in that structure don't get
initialized until usbhid_start().  However if report descriptor
parsing fails then usbhid_start() is never called.  This leads to
problems during system suspend -- the system will freeze.

This patch (as1378) fixes the bug by moving the initialization
statements up into usbhid_probe().

Signed-off-by: Alan Stern <[email protected]>
Reported-by: Bruno Prémont <[email protected]>
Tested-By: Bruno Prémont <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
2010-05-07 23:33:52 +02:00
..
usbhid HID: fix suspend crash by moving initializations earlier 2010-05-07 23:33:52 +02:00
hid-3m-pct.c
hid-a4tech.c
hid-apple.c
hid-belkin.c
hid-cherry.c
hid-chicony.c
hid-core.c
hid-cypress.c
hid-debug.c
hid-drff.c
hid-ezkey.c
hid-gaff.c
hid-gyration.c
hid-ids.h
hid-input.c
hid-kensington.c
hid-kye.c
hid-lg.c
hid-lg.h
hid-lg2ff.c
hid-lg3ff.c
hid-lgff.c
hid-magicmouse.c
hid-microsoft.c
hid-monterey.c
hid-mosart.c
hid-ntrig.c
hid-ortek.c
hid-petalynx.c
hid-pl.c
hid-quanta.c
hid-samsung.c
hid-sjoy.c
hid-sony.c
hid-stantum.c
hid-sunplus.c
hid-tmff.c
hid-topseed.c
hid-twinhan.c
hid-wacom.c
hid-zpff.c
hidraw.c
Kconfig
Makefile