ACK: [Vivid][SRU][PATCH] #LP1535513 Enable suspend function for i2c-hid device in Vivid
Stefan Bader
stefan.bader at canonical.com
Tue Feb 16 09:53:37 UTC 2016
On 15.02.2016 08:30, Phidias Chiang wrote:
> BugLink: http://bugs.launchpad.net/bugs/1535513
>
> [Impact]
> On some platforms the touchpad relies on pinctrl devices to provide GPIO interrupt, but in 3.19.0 pinctrl-cherryview doesn't support suspend well and will lose the config after suspend/resume, then touchpad can't be used.
>
> Also, there is a racing condition in i2c-hid module which makes touchpad unusable when waking up.
>
> [Fix]
> This fix has two parts. First part is to enable the suspend/resume function in pinctrl-cherryview:
>
> commit 9eb457b547cc731bc2fc251bd79891a60c64fc3e
> Author: Mika Westerberg <mika.westerberg at linux.intel.com>
> Date: Thu Dec 4 12:32:50 2014 +0200
>
> pinctrl: cherryview: Save and restore pin configs over system sleep
Part one is feeling a bit intrusive but at least that one is a cherr-pick and
affecting only a rather specific driver. So okay, with the good testing results.
>
> The second part is to eliminate the racing condition in i2c-hid:
>
> commit 9a327405014f4ef4cdad67a0686db82b9f23c62c
> Author: Mika Westerberg <mika.westerberg at linux.intel.com>
> Date: Mon Dec 21 15:26:31 2015 +0200
>
> HID: i2c-hid: Prevent sending reports from racing with device reset
>
Part two looks like it does what it claims and the risk of regression seems low
enough.
So overall ACK to both for Vivid.
-Stefan
> [Test]
>
> The test kernel with this patch set passed 10/10 suspend
>
> Mika Westerberg (2):
> pinctrl: cherryview: Save and restore pin configs over system sleep
> HID: i2c-hid: Prevent sending reports from racing with device reset
>
> drivers/hid/i2c-hid/i2c-hid.c | 22 +++++-
> drivers/pinctrl/intel/pinctrl-cherryview.c | 104 +++++++++++++++++++++++++++++
> 2 files changed, 123 insertions(+), 3 deletions(-)
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20160216/62ed83fa/attachment.sig>
More information about the kernel-team
mailing list