Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cpufreq: dt-platdev: Add some missing platforms to the blacklist

Commit edeec420de24 (cpufreq: dt-platdev: Automatically create cpufreq
device with OPP v2) missed adding few platforms to the blacklist which
create the cpufreq-dt device from their own drivers, after some
dependencies are sorted out.

And for those platforms, both the platform specific driver and the
cpufreq-dt-platdev driver try to create the cpufreq-dt device now.

Fix that by including those platforms in the blacklist. This doesn't include
the TI platforms, for which there is a separate patch.

Fixes: edeec420de24 (cpufreq: dt-cpufreq: platdev Automatically create device with OPP v2)
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Viresh Kumar and committed by
Rafael J. Wysocki
ff76898c 2bd6bf03

+12
+12
drivers/cpufreq/cpufreq-dt-platdev.c
··· 106 106 * platforms using "operating-points-v2" property. 107 107 */ 108 108 static const struct of_device_id blacklist[] __initconst = { 109 + { .compatible = "calxeda,highbank", }, 110 + { .compatible = "calxeda,ecx-2000", }, 111 + 112 + { .compatible = "marvell,armadaxp", }, 113 + 114 + { .compatible = "nvidia,tegra124", }, 115 + 116 + { .compatible = "st,stih407", }, 117 + { .compatible = "st,stih410", }, 118 + 119 + { .compatible = "sigma,tango4", }, 120 + 109 121 { } 110 122 }; 111 123