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

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


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.

Yours,
Linus Walleij