Re: [PATCH] ARM: tegra20: cpuidle: remove unnecessary "resettable" status clear

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

 



15.01.2015 15:49, Dmitry Osipenko пишет:
CPU1 "resettable" status is already cleared by final suspend function in case
of suspend abortion and by reset handler in case of completed CPU powergate,
no point to do it again.

Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx>
---
  arch/arm/mach-tegra/cpuidle-tegra20.c | 2 --
  1 file changed, 2 deletions(-)

diff --git a/arch/arm/mach-tegra/cpuidle-tegra20.c b/arch/arm/mach-tegra/cpuidle-tegra20.c
index b30bf5c..ad6158e 100644
--- a/arch/arm/mach-tegra/cpuidle-tegra20.c
+++ b/arch/arm/mach-tegra/cpuidle-tegra20.c
@@ -158,8 +158,6 @@ static bool tegra20_idle_enter_lp2_cpu_1(struct cpuidle_device *dev,

  	cpu_suspend(0, tegra20_sleep_cpu_secondary_finish);

-	tegra20_cpu_clear_resettable();
-
  	clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_EXIT, &dev->cpu);

  	return true;

Completely forgot to remove it also from 'sleep.h' and 'sleep-tegra20.S'. Please ignore this patch, I'll include it in ASM -> C conversion series.

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



[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux