Home
last modified time | relevance | path

Searched hist:56211121 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/pinctrl/intel/
H A Dpinctrl-cherryview.c56211121 Mon Oct 31 09:57:32 CDT 2016 Mika Westerberg <mika.westerberg@linux.intel.com> 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>
56211121 Mon Oct 31 09:57:32 CDT 2016 Mika Westerberg <mika.westerberg@linux.intel.com> 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>