summaryrefslogtreecommitdiffstats
path: root/drivers/hid/Makefile
diff options
context:
space:
mode:
authorGabriele Mazzotta <gabriele.mzt@gmail.com>2015-07-07 21:58:02 +0200
committerJiri Kosina <jkosina@suse.com>2015-07-08 12:43:20 +0200
commitaf4739c281621017a8a84dd6ba3471bba2dd6c6a (patch)
tree5e3452d928a3664a455d1c409f05c5899d493cf9 /drivers/hid/Makefile
parent67db8a8086e9b865533348954f5547f1e433101e (diff)
downloadlinux-stable-af4739c281621017a8a84dd6ba3471bba2dd6c6a.tar.gz
linux-stable-af4739c281621017a8a84dd6ba3471bba2dd6c6a.tar.bz2
linux-stable-af4739c281621017a8a84dd6ba3471bba2dd6c6a.zip
HID: i2c-hid: Call device suspend callback before disabling irq
i2c-hid takes care of requesting and handling IRQs for HID devices which in turns might expect them to be always active when working in normal conditions. Hence, disabling IRQs before calling the suspend callbacks can potentially cause problems since device drivers might try to perform operations needing them. Fix this by disabling IRQs only after the suspend callbacks had been executed. Signed-off-by: Gabriele Mazzotta <gabriele.mzt@gmail.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'drivers/hid/Makefile')
0 files changed, 0 insertions, 0 deletions