commit | 56211121c0825cd188caad05574fdc518d5cac6f | [log] [tgz] |
---|---|---|
author | Mika Westerberg <mika.westerberg@linux.intel.com> | Mon Oct 31 16:57:32 2016 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Fri Nov 04 22:22:28 2016 +0100 |
tree | 7c654bf874a248951e82c3c6b36faa19c0c88453 | |
parent | 9999fe5df58773489b9564467b5c8cfb364e0b80 [diff] |
pinctrl: cherryview: Serialize register access in suspend/resume 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. Cc: stable@vger.kernel.org Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>