summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorEric Nelson <eric.nelson@boundarydevices.com>2013-07-05 17:44:36 -0700
committerEric Nelson <eric.nelson@boundarydevices.com>2013-07-05 17:44:36 -0700
commitd449c5e9826875ea5015fc5fa442492bcfb54c89 (patch)
tree8dc9cde2edddcabbc00c2f63821dbd336e3a4c86 /drivers
parentbf0b8206b5c7f3efdeadc6687763036e88ce73d7 (diff)
video/mxc:sensor_clock: we always use clko2_clk on our boards
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/mxc/capture/sensor_clock.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/media/video/mxc/capture/sensor_clock.c b/drivers/media/video/mxc/capture/sensor_clock.c
index 99fdfc173ce6..4d980c309b7d 100644
--- a/drivers/media/video/mxc/capture/sensor_clock.c
+++ b/drivers/media/video/mxc/capture/sensor_clock.c
@@ -48,15 +48,7 @@ void set_mclk_rate(uint32_t *p_mclk_freq, uint32_t csi)
}
} else if (cpu_is_mx6q() || cpu_is_mx6dl()) {
if (csi == 0) {
- if (machine_is_mx6q_sabrelite()
- || machine_is_mx6_nitrogen6x()
- || machine_is_mx6_nit6xlite()
- || machine_is_mx6_oc()
- || machine_is_mx6_h()
- )
- mclk = "clko2_clk";
- else
- mclk = "clko_clk";
+ mclk = "clko2_clk";
} else {
pr_err("invalid csi num %d\n", csi);
return;