Skip to contentSkip to conversation

ARM: omap-device: add missed callback for suspend-to-disk

PATCH New grygorii.strashko at linaro.org 4 participants 6 messages Feb 25, 2015 – Mar 16, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: omap-device: add missed callback for suspend-to-disk

From: Grygorii Strashko <[email protected]>

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

---
 arch/arm/mach-omap2/omap_device.c | 3 +++
 1 file changed, 3 insertions(+)
arch/arm/mach-omap2/omap_device.c +3 -0
index fcd2c9e..345e18e 100644
@@ -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,
 	}
 };
 
Signature · 1 line
1.9.1
maintainer
#1 lore raw

PATCH 1/1 ARM: omap-device: add missed callback for suspend-to-disk

Quoted 3 lines · grygorii.strashko at linaro.org

From: Grygorii Strashko <[email protected]>

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?

Regards,

Tony

Quoted 22 lines
---
 arch/arm/mach-omap2/omap_device.c | 3 +++
 1 file changed, 3 insertions(+)
arch/arm/mach-omap2/omap_device.c +3 -0
index fcd2c9e..345e18e 100644
@@ -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,
 	}
 };
 
Signature · 1 line
1.9.1
#2 lore raw

PATCH 1/1 ARM: omap-device: add missed callback for suspend-to-disk

Quoted 8 lines · Tony Lindgren
Quoted 3 lines · grygorii.strashko at linaro.org

From: Grygorii Strashko <[email protected]>

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.

Quoted 20 lines
Quoted 20 lines
---
  arch/arm/mach-omap2/omap_device.c | 3 +++
  1 file changed, 3 insertions(+)
arch/arm/mach-omap2/omap_device.c +3 -0
index fcd2c9e..345e18e 100644
@@ -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,
  	}
  };
 
Quoted 3 lines
Quoted 3 lines

--
1.9.1

regards,
-grygorii

maintainer
#3 lore raw

PATCH 1/1 ARM: omap-device: add missed callback for suspend-to-disk

Quoted 11 lines · Grygorii Strashko
Quoted 8 lines · Tony Lindgren
Quoted 3 lines · grygorii.strashko at linaro.org

From: Grygorii Strashko <[email protected]>

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.

OK thanks for confirming that.

Tony

Quoted 25 lines
Quoted 19 lines
Quoted 19 lines
---
 arch/arm/mach-omap2/omap_device.c | 3 +++
 1 file changed, 3 insertions(+)
arch/arm/mach-omap2/omap_device.c +3 -0
index fcd2c9e..345e18e 100644
@@ -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,
 	}
 };
 
Quoted 3 lines
Quoted 3 lines

--
1.9.1

regards,
-grygorii

maintainer
#4 lore raw

PATCH 1/1 ARM: omap-device: add missed callback for suspend-to-disk

Quoted 7 lines · Tony Lindgren
Quoted 6 lines · Grygorii Strashko
Quoted 5 lines · Tony Lindgren
Quoted 3 lines · grygorii.strashko at linaro.org

From: Grygorii Strashko <[email protected]>

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

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

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

This one is not critical fix.

OK thanks for confirming that.

Applying into omap-for-v4.1/soc thanks.

Quoted 32 lines

Tony

Quoted 19 lines
Quoted 19 lines
Quoted 19 lines
---
 arch/arm/mach-omap2/omap_device.c | 3 +++
 1 file changed, 3 insertions(+)
arch/arm/mach-omap2/omap_device.c +3 -0
index fcd2c9e..345e18e 100644
@@ -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,
 	}
 };
 
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines

--
1.9.1

regards,
-grygorii

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#5 lore raw

PATCH 1/1 ARM: omap-device: add missed callback for suspend-to-disk

In reply to grygorii.strashko at linaro.org
Quoted 5 lines · <[email protected]> writes:

From: Grygorii Strashko <[email protected]>

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

Quoted 17 lines
---
 arch/arm/mach-omap2/omap_device.c | 3 +++
 1 file changed, 3 insertions(+)
arch/arm/mach-omap2/omap_device.c +3 -0
index fcd2c9e..345e18e 100644
@@ -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,
 	}
 };