Thread (2 messages) 2 messages, 2 authors, 2015-08-18

Re: [PATCH v2] HID: i2c-hid: Only disable irq wake if it was successfully enabled during suspend

From: Jiri Kosina <jikos@kernel.org>
Date: 2015-08-18 13:21:29
Also in: lkml

On Thu, 30 Jul 2015, Andrew Duggan wrote:
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 <redacted>
---
This patch is based on Jiri's for-4.3/i2c-hid and needs Gabriele Mazzotta's
patch which moves where the HID driver's suspend callback call to apply
cleanly.
Applied to for-4.3/i2c-hid. Thanks,

-- 
Jiri Kosina
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help