diff mbox

[2/7] ARM: tegra: add flow controller to support suspend for Tegra124

Message ID 1381310411-11391-3-git-send-email-josephl@nvidia.com (mailing list archive)
State New, archived
Headers show

Commit Message

Joseph Lo Oct. 9, 2013, 9:20 a.m. UTC
Enable the configuration of flow controller to support the last CPU
(CPU0) suspend function with cluster power down.

Signed-off-by: Joseph Lo <josephl@nvidia.com>
---
 arch/arm/mach-tegra/flowctrl.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Stephen Warren Oct. 9, 2013, 11:21 p.m. UTC | #1
On 10/09/2013 03:20 AM, Joseph Lo wrote:
> Enable the configuration of flow controller to support the last CPU
> (CPU0) suspend function with cluster power down.

I'd be tempted to squash together patches 2 and 3 since they're
basically doing the same kind of thing and are pretty trivial.
diff mbox

Patch

diff --git a/arch/arm/mach-tegra/flowctrl.c b/arch/arm/mach-tegra/flowctrl.c
index 5348543..ce8ab8a 100644
--- a/arch/arm/mach-tegra/flowctrl.c
+++ b/arch/arm/mach-tegra/flowctrl.c
@@ -87,6 +87,7 @@  void flowctrl_cpu_suspend_enter(unsigned int cpuid)
 		break;
 	case TEGRA30:
 	case TEGRA114:
+	case TEGRA124:
 		/* clear wfe bitmap */
 		reg &= ~TEGRA30_FLOW_CTRL_CSR_WFE_BITMAP;
 		/* clear wfi bitmap */
@@ -125,6 +126,7 @@  void flowctrl_cpu_suspend_exit(unsigned int cpuid)
 		break;
 	case TEGRA30:
 	case TEGRA114:
+	case TEGRA124:
 		/* clear wfe bitmap */
 		reg &= ~TEGRA30_FLOW_CTRL_CSR_WFE_BITMAP;
 		/* clear wfi bitmap */