Re: [PATCH 1/3] pinctrl: cherryview: Serialize register access in suspend and resume hooks

From: Linus Walleij
Date: Fri Nov 04 2016 - 11:16:04 EST


On Fri, Nov 4, 2016 at 4:12 PM, Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
> On Mon, Oct 31, 2016 at 3:57 PM, Mika Westerberg
> <mika.westerberg@xxxxxxxxxxxxxxx> wrote:
>
>> If async suspend is enabled, the driver may access registers concurrently
>> with another instance which may fail because of the bug in Cherryview GPIO
>> hardware. Prevent this by taking the shared lock while accessing the
>> hardware in suspend and resume hooks.
>>
>> Signed-off-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
>
> Patch applied.

Mika should this and patch 2/3 be tagged for stable?

Yours,
Linus Walleij