From: Barry Song Date: Thu, 4 Jul 2013 07:59:53 +0000 (+0800) Subject: pinctrl: sirf: add freeze and restore entries for hibernation support X-Git-Tag: firefly_0821_release~176^2~5439^2~79 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f6b178851c1ca10fe8749e5f803e7795edcd40b9;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Linus Walleij --- diff --git a/drivers/pinctrl/sirf/pinctrl-sirf.c b/drivers/pinctrl/sirf/pinctrl-sirf.c index 7186b4622dd6..0792e8d4887e 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