Re: [PATCH] clk: scpi: don't add cpufreq device if the scpi dvfs node is disabled
From: Sudeep Holla
Date: Mon Jan 09 2017 - 04:58:59 EST
On 07/01/17 00:44, MichaÅ Zegan wrote:
> seems the patch works as intended.
>
So, can we take this as
Tested-by: MichaÅ Zegan <webczat_200@xxxxxxxxxxxxxx> ?
> W dniu 06.01.2017 o 13:34, Sudeep Holla pisze:
>> Currently we add the virtual cpufreq device unconditionally even when
>> the SCPI DVFS clock provider node is disabled. This will cause cpufreq
>> driver to throw errors when it gets initailised on boot/modprobe and
>> also when the CPUs are hot-plugged back in.
>>
>> This patch fixes the issue by adding the virtual cpufreq device only if
>> the SCPI DVFS clock provider is available and registered.
>>
>> Fixes: 9490f01e2471 ("clk: scpi: add support for cpufreq virtual device")
>> Reported-by: MichaÅ Zegan <webczat_200@xxxxxxxxxxxxxx>
>> Cc: Neil Armstrong <narmstrong@xxxxxxxxxxxx>
>> Cc: Michael Turquette <mturquette@xxxxxxxxxxxx>
>> Cc: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>
>> Signed-off-by: Sudeep Holla <sudeep.holla@xxxxxxx>
--
Regards,
Sudeep