Re: [PATCH] ARM: omap-device: add missed callback for suspend-to-disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/25/2015 05:44 PM, Tony Lindgren wrote:
* grygorii.strashko@xxxxxxxxxx <grygorii.strashko@xxxxxxxxxx> [150225 06:17]:
From: Grygorii Strashko <Grygorii.Strashko@xxxxxxxxxx>

Add missed callback needed for supporting suspend-to-disk (hibernation) mode.

Is this needed as a fix for the -rc series or are there still
other missing dependencies?


This one is not critical fix.


Signed-off-by: Grygorii Strashko <Grygorii.Strashko@xxxxxxxxxx>
---
  arch/arm/mach-omap2/omap_device.c | 3 +++
  1 file changed, 3 insertions(+)

diff --git a/arch/arm/mach-omap2/omap_device.c b/arch/arm/mach-omap2/omap_device.c
index fcd2c9e..345e18e 100644
--- a/arch/arm/mach-omap2/omap_device.c
+++ b/arch/arm/mach-omap2/omap_device.c
@@ -739,6 +739,9 @@ struct dev_pm_domain omap_device_pm_domain = {
  		USE_PLATFORM_PM_SLEEP_OPS
  		.suspend_noirq = _od_suspend_noirq,
  		.resume_noirq = _od_resume_noirq,
+		.freeze_noirq = _od_suspend_noirq,
+		.thaw_noirq = _od_resume_noirq,
+		.restore_noirq = _od_resume_noirq,
  	}
  };

--
1.9.1


regards,
-grygorii
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux