Message ID | 1372924793-5579-1-git-send-email-Baohua.Song@csr.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thu, Jul 4, 2013 at 9:59 AM, Barry Song <Baohua.Song@csr.com> wrote: > this patch adds hibernation entries so that the sirf platform can > support suspend-to-disk. > > Signed-off-by: Barry Song <Baohua.Song@csr.com> Are you really using this? Applied anyway... Yours, Linus Walleij
2013/7/22 Linus Walleij <linus.walleij@linaro.org>: > On Thu, Jul 4, 2013 at 9:59 AM, Barry Song <Baohua.Song@csr.com> wrote: > >> this patch adds hibernation entries so that the sirf platform can >> support suspend-to-disk. >> >> Signed-off-by: Barry Song <Baohua.Song@csr.com> > > Are you really using this? yes, we do for quick boot requirement. > > Applied anyway... > > Yours, > Linus Walleij -barry
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
this patch adds hibernation entries so that the sirf platform can support suspend-to-disk. Signed-off-by: Barry Song <Baohua.Song@csr.com> --- drivers/pinctrl/sirf/pinctrl-sirf.c | 2 ++ 1 file changed, 2 insertions(+)