diff options
author | Andrew Duggan <aduggan@synaptics.com> | 2015-07-30 14:49:00 -0700 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-08-18 15:19:45 +0200 |
commit | d1c48038b849e9df0475621a52193a62424a4e87 (patch) | |
tree | b26a9257964727a0dcf7dc2c85fe791b4d17c64e /include/linux/stddef.h | |
parent | af4739c281621017a8a84dd6ba3471bba2dd6c6a (diff) | |
download | op-kernel-dev-d1c48038b849e9df0475621a52193a62424a4e87.zip op-kernel-dev-d1c48038b849e9df0475621a52193a62424a4e87.tar.gz |
HID: i2c-hid: Only disable irq wake if it was successfully enabled during suspend
Enabling irq wake could potentially fail and calling disable_irq_wake
after a failed call to enable_irq_wake could result in an unbalanced irq
warning. This patch warns if enable_irq_wake fails and avoids other
potential issues caused by calling disable_irq_wake on resume after
enable_irq_wake failed during suspend.
Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/stddef.h')
0 files changed, 0 insertions, 0 deletions