diff options
author | Doug Anderson <dianders@chromium.org> | 2013-05-17 08:33:18 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-05-27 17:37:08 +0400 |
commit | d9f998639f539613bb25cbbca380c81c892d586c (patch) | |
tree | 2529a1916b63869dd6b7d418c2e190094371fe49 /fs/ocfs2/Makefile | |
parent | e4aa937ec75df0eea0bee03bffa3303ad36c986b (diff) | |
download | linux-d9f998639f539613bb25cbbca380c81c892d586c.tar.xz |
pinctrl: samsung: fix suspend/resume functionality
The GPIO states need to be restored after s2r and this is not currently
supported in the pinctrl driver. This patch saves the gpio states before
suspend and restores them after resume.
Saving and restoring is done very early using syscore_ops and must
happen before pins are released from their powerdown state.
Patch originally from Prathyush K <prathyush.k@samsung.com> but
rewritten by Doug Anderson <dianders@chromium.org>.
Signed-off-by: Prathyush K <prathyush.k@samsung.com>
Signed-off-by: Doug Anderson <dianders@chromium.org>
Tested-by: Tomasz Figa <t.figa@samsung.com>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'fs/ocfs2/Makefile')
0 files changed, 0 insertions, 0 deletions