From mboxrd@z Thu Jan 1 00:00:00 1970 From: sudeep.holla@arm.com (Sudeep Holla) Date: Mon, 9 Jan 2017 09:58:37 +0000 Subject: [PATCH] clk: scpi: don't add cpufreq device if the scpi dvfs node is disabled In-Reply-To: References: <1483706070-12357-1-git-send-email-sudeep.holla@arm.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 ? > 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 >> Cc: Neil Armstrong >> Cc: Michael Turquette >> Cc: Stephen Boyd >> Signed-off-by: Sudeep Holla -- Regards, Sudeep