summaryrefslogtreecommitdiff
path: root/net/irda
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2014-12-04 12:32:50 +0200
committerLinus Walleij <linus.walleij@linaro.org>2015-01-10 22:47:22 +0100
commit9eb457b547cc731bc2fc251bd79891a60c64fc3e (patch)
tree172cfa5afbf64eef973fb6151d2882dd601cfa25 /net/irda
parentb7392d2247cfe6771f95d256374f1a8e6a6f48d6 (diff)
pinctrl: cherryview: Save and restore pin configs over system sleep
Before resuming from system sleep BIOS restores its view of pin configuration. If we have configured some pins differently from that, for instance some driver requested a pin as a GPIO but it was not in GPIO mode originally, our view of the pin configuration will not match the hardware state anymore. This patch saves the pin configuration and interrupt mask registers on suspend and restores them on exit. This should make sure that the previously configured state is still in effect. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'net/irda')
0 files changed, 0 insertions, 0 deletions