diff options
author | Barry Song <Baohua.Song@csr.com> | 2013-07-04 15:59:53 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-07-23 01:23:25 +0200 |
commit | f6b178851c1ca10fe8749e5f803e7795edcd40b9 (patch) | |
tree | 76af07ec4371ff8e721581b23fc17a4effd1bd85 /drivers/pinctrl/sirf/pinctrl-sirf.c | |
parent | 9c956909ed4d3d28cdf742b50bc5b591c855ec83 (diff) | |
download | op-kernel-dev-f6b178851c1ca10fe8749e5f803e7795edcd40b9.zip op-kernel-dev-f6b178851c1ca10fe8749e5f803e7795edcd40b9.tar.gz |
pinctrl: sirf: add freeze and restore entries for hibernation support
this patch adds hibernation entries so that the sirf platform can
support suspend-to-disk.
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sirf/pinctrl-sirf.c')
-rw-r--r-- | drivers/pinctrl/sirf/pinctrl-sirf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pinctrl/sirf/pinctrl-sirf.c b/drivers/pinctrl/sirf/pinctrl-sirf.c index 7186b46..0792e8d 100644 --- a/drivers/pinctrl/sirf/pinctrl-sirf.c +++ b/drivers/pinctrl/sirf/pinctrl-sirf.c @@ -440,6 +440,8 @@ static int sirfsoc_pinmux_resume_noirq(struct device *dev) static const struct dev_pm_ops sirfsoc_pinmux_pm_ops = { .suspend_noirq = sirfsoc_pinmux_suspend_noirq, .resume_noirq = sirfsoc_pinmux_resume_noirq, + .freeze_noirq = sirfsoc_pinmux_suspend_noirq, + .restore_noirq = sirfsoc_pinmux_resume_noirq, }; #endif |