commit | b5b7b487431b01619f2947d91dadd7c7a233692e | [log] [tgz] |
---|---|---|
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | Fri Oct 24 13:59:19 2014 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Nov 03 14:28:03 2014 +0100 |
tree | bc1bc9164747b69410948f154610530aa17d68e4 | |
parent | 5bb5428956d3eecb428e72e7f521ff6ac767384b [diff] |
gpio: mvebu: add suspend/resume support This commit adds the implementation of ->suspend() and ->resume() platform_driver hooks in order to save and restore the state of the GPIO configuration. In order to achieve that, additional fields are added to the mvebu_gpio_chip structure. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>