Re: [PATCH] Thermal: fix iteration over CPU frequency list

2013-02-05 Thread amit daniel kachhap
On Tue, Feb 5, 2013 at 1:59 AM, Zhang Rui wrote: > On Mon, 2013-02-04 at 11:49 -0800, amit daniel kachhap wrote: >> On Thu, Jan 31, 2013 at 11:59 PM, Zhang Rui wrote: >> > On Thu, 2013-01-24 at 16:24 +0100, Gu1 wrote: >> >> In different places in the Thermal code, the CPU frequency list is >> >>

Re: [PATCH] Thermal: fix iteration over CPU frequency list

2013-02-05 Thread Zhang Rui
On Mon, 2013-02-04 at 11:49 -0800, amit daniel kachhap wrote: > On Thu, Jan 31, 2013 at 11:59 PM, Zhang Rui wrote: > > On Thu, 2013-01-24 at 16:24 +0100, Gu1 wrote: > >> In different places in the Thermal code, the CPU frequency list is iterated > >> in an incorrect way, leading to endless loops w

Re: [PATCH] Thermal: fix iteration over CPU frequency list

2013-02-04 Thread amit kachhap
On Thu, Jan 24, 2013 at 7:24 AM, Gu1 wrote: > In different places in the Thermal code, the CPU frequency list is iterated > in an incorrect way, leading to endless loops when the frequency list contains > a CPUFREQ_TABLE_INVALID entry, which is the case by default in the the Exynos > 4x12 cpufreq

Re: [PATCH] Thermal: fix iteration over CPU frequency list

2013-02-04 Thread amit daniel kachhap
On Thu, Jan 31, 2013 at 11:59 PM, Zhang Rui wrote: > On Thu, 2013-01-24 at 16:24 +0100, Gu1 wrote: >> In different places in the Thermal code, the CPU frequency list is iterated >> in an incorrect way, leading to endless loops when the frequency list >> contains >> a CPUFREQ_TABLE_INVALID entry,

Re: [PATCH] Thermal: fix iteration over CPU frequency list

2013-01-31 Thread Zhang Rui
On Thu, 2013-01-24 at 16:24 +0100, Gu1 wrote: > In different places in the Thermal code, the CPU frequency list is iterated > in an incorrect way, leading to endless loops when the frequency list contains > a CPUFREQ_TABLE_INVALID entry, which is the case by default in the the Exynos > 4x12 cpufreq

[PATCH] Thermal: fix iteration over CPU frequency list

2013-01-24 Thread Gu1
In different places in the Thermal code, the CPU frequency list is iterated in an incorrect way, leading to endless loops when the frequency list contains a CPUFREQ_TABLE_INVALID entry, which is the case by default in the the Exynos 4x12 cpufreq driver, for example. The frequency list is iterated