[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1311252318350.22082@pobox.suse.cz>
Date: Mon, 25 Nov 2013 23:18:54 +0100 (CET)
From: Jiri Kosina <jkosina@...e.cz>
To: Benjamin Tissoires <benjamin.tissoires@...hat.com>
Cc: Mika Westerberg <mika.westerberg@...ux.intel.com>,
Jean Delvare <khali@...ux-fr.org>, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org, Jerome Blin <jerome.blin@...el.com>
Subject: Re: [PATCH] HID: i2c-hid: disable interrupt on suspend
On Mon, 25 Nov 2013, Benjamin Tissoires wrote:
> > When an I2C HID device is powered of during system sleep, as a result of
> > removing its power resources (by the ACPI core) the interrupt line might go
> > low as well. This results inadvertent interrupt and wakes the system from
> > sleep immediately.
> >
> > To prevent this we disable the device interrupt in the drivers suspend
> > method and enable it on resume. The device can still wake the system up if
> > it is wake capable (this also means that not all of its power will be
> > removed to keep the interrupt line high).
> >
> > Reported-by: Jerome Blin <jerome.blin@...el.com>
> > Signed-off-by: Mika Westerberg <mika.westerberg@...ux.intel.com>
> > ---
>
> Jiri, just FYI, I still do not have any final consumer ready i2c-hid
> hardware. So I can not test/debug anything related to the suspend-resume.
>
> If Mika tested it properly (which I expect), you may consider pulling
> this one.
Understood, thanks guys.
Applied now.
--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists