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

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