]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: mach-imx: clk-imx51-imx53: Fix 'spdif1_pred' clock registration
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 5 Sep 2013 19:02:57 +0000 (16:02 -0300)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 17 Sep 2013 02:04:24 +0000 (10:04 +0800)
commit571b34265f438001f865a465ca0ff3d764ea084b
treefa680617a61643f3d90f5ec557a02f6accdb65b9
parentd8274d27b94ba3d68a2cb3796605e96c00044daf
ARM: mach-imx: clk-imx51-imx53: Fix 'spdif1_pred' clock registration

Since commit 4fde5f0536 (ARM i.MX5: Add S/PDIF clocks), the following clock
error appears on mx51:

TrustZone Interrupt Controller (TZIC) initialized
i.MX51 clk 180: register failed with -17
i.MX5 clk 180: register failed with -17
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
CPU identified as i.MX51, silicon rev 3.0
...

Clock 180 corresponds to 'spdif1_podf' and this clock is getting registered
twice.

Fix it, by properly registering the 'spdif1_pred' clock, which should not
reference 'spdif1_podf'.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/clk-imx51-imx53.c