From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sekhar Nori Subject: Re: [PATCH 6/9] ARM: davinci: cpuidle: fix wrong enter function Date: Thu, 4 Apr 2013 12:46:02 +0530 Message-ID: <515D28B2.90408@ti.com> References: <1364991322-20585-1-git-send-email-daniel.lezcano@linaro.org> <1364991322-20585-6-git-send-email-daniel.lezcano@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1364991322-20585-6-git-send-email-daniel.lezcano@linaro.org> Sender: linux-pm-owner@vger.kernel.org To: Daniel Lezcano Cc: rjw@sisk.pl, linux-pm@vger.kernel.org, patches@linaro.org, linaro-kernel@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux@arm.linux.org.uk, rnayak@ti.com, swarren@wwwdotorg.org, linux-tegra@vger.kernel.org, horms+renesas@verge.net.au, santosh.shilimkar@ti.com, arnd@arndb.de, lenb@kernel.org, josephl@nvidia.com, deepthi@linux.vnet.ibm.com List-Id: linux-tegra@vger.kernel.org On 4/3/2013 5:45 PM, Daniel Lezcano wrote: > The davinci_enter_idle is called from the cpuidle with the > cpuidle_wrap_enter function. This one does the time compution > for entering and exiting the idle function and then we call > again cpuidle_wrap_enter for cpu_do_idle. This is wrong, we > are calling recursively cpuidle_wrap_enter for nothing and > furthermore reenabling the local irq. > > Remove this and replace it by the cpu_do_idle function. > > Signed-off-by: Daniel Lezcano > Acked-by: Santosh Shilimkar Acked-by: Sekhar Nori Thanks, Sekhar