public inbox for cpufreq@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cpufreq: exynos: allow disabling cpufreq drivers
@ 2013-04-19 13:54 Arnd Bergmann
  2013-04-19 14:33 ` Arnd Bergmann
  2013-04-19 16:51 ` Sylwester Nawrocki
  0 siblings, 2 replies; 9+ messages in thread
From: Arnd Bergmann @ 2013-04-19 13:54 UTC (permalink / raw)
  Cc: Sylwester Nawrocki, Tomasz Figa, cpufreq, Rafael J. Wysocki,
	Kukjin Kim, Thomas Abraham, Viresh Kumar

Commit 6e6aac7590 "ARM: EXYNOS: Migrate clock support to common
clock framework" broke support for the exynos cpufreq drivers.
While we're waiting for a fix for this, let's get back to a state
where the kernel builds again with the cpufreq subsystem enabled
but ARM_EXYNOS_CPUFREQ disabled. I assume that this was the intention
behind this Kconfig symbol anyway.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
Cc: Tomasz Figa <t.figa@samsung.com>
Cc: Thomas Abraham <thomas.abraham@linaro.org>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Cc: cpufreq@vger.kernel.org
Cc: Rafael J. Wysocki <rjw@sisk.pl>
---
Rafael, I'm putting this patch into the arm-soc tree now to avoid
a bug based on a patch that I got from Kukjin. If you have any
objections, please let me know so I can revert it again.

Everyone else: Why does 6e6aac7590 have your "Tested-by" and
"Signed-off-by" tags on it when it's obviously broken? Who is
fixing this? Having no working exynos cpufreq support in 3.10
would be a serious regression.

diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
index 030ddf6..2b8862d 100644
--- a/drivers/cpufreq/Kconfig.arm
+++ b/drivers/cpufreq/Kconfig.arm
@@ -61,18 +61,21 @@ config ARM_EXYNOS_CPUFREQ
 
 config ARM_EXYNOS4210_CPUFREQ
 	def_bool CPU_EXYNOS4210
+	depends on ARM_EXYNOS_CPUFREQ
 	help
 	  This adds the CPUFreq driver for Samsung EXYNOS4210
 	  SoC (S5PV310 or S5PC210).
 
 config ARM_EXYNOS4X12_CPUFREQ
 	def_bool (SOC_EXYNOS4212 || SOC_EXYNOS4412)
+	depends on ARM_EXYNOS_CPUFREQ
 	help
 	  This adds the CPUFreq driver for Samsung EXYNOS4X12
 	  SoC (EXYNOS4212 or EXYNOS4412).
 
 config ARM_EXYNOS5250_CPUFREQ
 	def_bool SOC_EXYNOS5250
+	depends on ARM_EXYNOS_CPUFREQ
 	help
 	  This adds the CPUFreq driver for Samsung EXYNOS5250
 	  SoC.

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-04-19 21:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-19 13:54 [PATCH] cpufreq: exynos: allow disabling cpufreq drivers Arnd Bergmann
2013-04-19 14:33 ` Arnd Bergmann
2013-04-19 16:51 ` Sylwester Nawrocki
2013-04-19 18:59   ` Arnd Bergmann
2013-04-19 20:37     ` Sylwester Nawrocki
2013-04-19 20:43       ` Arnd Bergmann
2013-04-19 21:12         ` Sylwester Nawrocki
2013-04-19 21:10       ` [PATCH] ARM: exynos: restore mach/regs-clock.h for exynos5 Arnd Bergmann
2013-04-19 21:17         ` Olof Johansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox