Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1209253 > unrolled thread

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

Started byJiri Kosina <jikos@kernel.org>
First post2015-08-18 15:30 +0200
Last post2015-08-18 15:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2] HID: i2c-hid: Only disable irq wake if it was  successfully enabled during suspend Jiri Kosina <jikos@kernel.org> - 2015-08-18 15:30 +0200

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

FromJiri Kosina <jikos@kernel.org>
Date2015-08-18 15:30 +0200
SubjectRe: [PATCH v2] HID: i2c-hid: Only disable irq wake if it was successfully enabled during suspend
Message-ID<pYP7I-7uc-13@gated-at.bofh.it>
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 <aduggan@synaptics.com>
> ---
> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web