]> 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)
commit14103d410bc80fc0019fcc63049be62cb0d1ac67
treefa680617a61643f3d90f5ec557a02f6accdb65b9
parent420c1154027265e92b3b91203044218d87c4099e
ARM: mach-imx: clk-imx51-imx53: Fix 'spdif1_pred' clock registration

Since commit b29efb1447 (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