commit | fcc18deb7682dafcf6176b4af81d1554ffabd8b1 | [log] [tgz] |
---|---|---|
author | Mika Westerberg <mika.westerberg@linux.intel.com> | Mon Feb 23 14:53:13 2015 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Fri Mar 06 12:25:07 2015 +0100 |
tree | cba808b4e42bd101c396751fd11e9d65fe01cf4b | |
parent | 31e4329f99062a06dca5a493bb4495a63b2dc6ba [diff] |
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>