summaryrefslogtreecommitdiff
path: root/rnd.h
diff options
context:
space:
mode:
Diffstat (limited to 'rnd.h')
0 files changed, 0 insertions, 0 deletions
/cgit.cgi/linux/net-next.git/commit/drivers/hid?id=af4739c281621017a8a84dd6ba3471bba2dd6c6a'>af4739c281621017a8a84dd6ba3471bba2dd6c6a (diff)
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 'drivers/hid')