]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: baytrail: Save pin context over system sleep
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 23 Feb 2015 12:53:13 +0000 (14:53 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 6 Mar 2015 11:25:07 +0000 (12:25 +0100)
commitd0df6a405adaf2652495c24d74995bd5d327843c
treecba808b4e42bd101c396751fd11e9d65fe01cf4b
parent1a1f96b58d6f1f810e075ca79354543965c66a93
pinctrl: baytrail: Save pin context over system sleep

The BIOS might reconfigure pins as it needs when S3 is entered. This might
cause drivers using the GPIOs to fail because the state was wrong or
interrupts stopped working.

Fix this by saving and restoring enough pin context over system sleep.

Reported-by: Hans Holmberg <hans.holmberg@intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/intel/pinctrl-baytrail.c