Re: [PATCH] cpufreq: imx6: prorect calls to dev_pm_opp_get_opp_count with RCU lock

2014-12-15 Thread Dmitry Torokhov
On Mon, Dec 15, 2014 at 9:33 PM, Viresh Kumar wrote: > On 16 December 2014 at 06:20, Dmitry Torokhov wrote: >> dev_pm_opp_get_opp_count() must be called with RCU lock held. >> >> Signed-off-by: Dmitry Torokhov >> --- >> >> Not tested at all... >> >> drivers/cpufreq/imx6q-cpufreq.c | 4 >>

Re: [PATCH] cpufreq: imx6: prorect calls to dev_pm_opp_get_opp_count with RCU lock

2014-12-15 Thread Viresh Kumar
On 16 December 2014 at 06:20, Dmitry Torokhov wrote: > dev_pm_opp_get_opp_count() must be called with RCU lock held. > > Signed-off-by: Dmitry Torokhov > --- > > Not tested at all... > > drivers/cpufreq/imx6q-cpufreq.c | 4 > 1 file changed, 4 insertions(+) > > diff --git

[PATCH] cpufreq: imx6: prorect calls to dev_pm_opp_get_opp_count with RCU lock

2014-12-15 Thread Dmitry Torokhov
dev_pm_opp_get_opp_count() must be called with RCU lock held. Signed-off-by: Dmitry Torokhov --- Not tested at all... drivers/cpufreq/imx6q-cpufreq.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/cpufreq/imx6q-cpufreq.c b/drivers/cpufreq/imx6q-cpufreq.c index

[PATCH] cpufreq: imx6: prorect calls to dev_pm_opp_get_opp_count with RCU lock

2014-12-15 Thread Dmitry Torokhov
dev_pm_opp_get_opp_count() must be called with RCU lock held. Signed-off-by: Dmitry Torokhov d...@chromium.org --- Not tested at all... drivers/cpufreq/imx6q-cpufreq.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/cpufreq/imx6q-cpufreq.c b/drivers/cpufreq/imx6q-cpufreq.c

Re: [PATCH] cpufreq: imx6: prorect calls to dev_pm_opp_get_opp_count with RCU lock

2014-12-15 Thread Viresh Kumar
On 16 December 2014 at 06:20, Dmitry Torokhov d...@chromium.org wrote: dev_pm_opp_get_opp_count() must be called with RCU lock held. Signed-off-by: Dmitry Torokhov d...@chromium.org --- Not tested at all... drivers/cpufreq/imx6q-cpufreq.c | 4 1 file changed, 4 insertions(+) diff

Re: [PATCH] cpufreq: imx6: prorect calls to dev_pm_opp_get_opp_count with RCU lock

2014-12-15 Thread Dmitry Torokhov
On Mon, Dec 15, 2014 at 9:33 PM, Viresh Kumar viresh.ku...@linaro.org wrote: On 16 December 2014 at 06:20, Dmitry Torokhov d...@chromium.org wrote: dev_pm_opp_get_opp_count() must be called with RCU lock held. Signed-off-by: Dmitry Torokhov d...@chromium.org --- Not tested at all...