All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 5/5] pinctrl: sirf: add freeze and restore entries for hibernation support
@ 2013-07-04  7:59 Barry Song
  2013-07-21 22:57 ` Linus Walleij
  0 siblings, 1 reply; 3+ messages in thread
From: Barry Song @ 2013-07-04  7:59 UTC (permalink / raw)
  To: linux-arm-kernel

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(+)

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
 
-- 
1.8.2.3



Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 5/5] pinctrl: sirf: add freeze and restore entries for hibernation support
  2013-07-04  7:59 [PATCH 5/5] pinctrl: sirf: add freeze and restore entries for hibernation support Barry Song
@ 2013-07-21 22:57 ` Linus Walleij
  2013-07-22  0:04   ` Barry Song
  0 siblings, 1 reply; 3+ messages in thread
From: Linus Walleij @ 2013-07-21 22:57 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 5/5] pinctrl: sirf: add freeze and restore entries for hibernation support
  2013-07-21 22:57 ` Linus Walleij
@ 2013-07-22  0:04   ` Barry Song
  0 siblings, 0 replies; 3+ messages in thread
From: Barry Song @ 2013-07-22  0:04 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-22  0:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-04  7:59 [PATCH 5/5] pinctrl: sirf: add freeze and restore entries for hibernation support Barry Song
2013-07-21 22:57 ` Linus Walleij
2013-07-22  0:04   ` Barry Song

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.