[alsa-devel] [PATCH 1/2] ARM: dts: imx6: remove wrong spdif rxtx2 clock

Anssi Hannula anssi.hannula at iki.fi
Mon Jun 16 01:39:44 CEST 2014


The rxtx2 clock of i.MX6 S/PDIF is currently set to "asrc" clock.
However, according to SoC documentation, rxtx2 is connected to
ASRC_EXT_CLK, a different external clock.

Testing on Cubox-i system seems to confirm that: when fsl_spdif is
forced to select rxtx2 as input clock, audio playback fails with an I/O
error.

Set rxtx2 to the dummy clock by default to prevent fsl_spdif from
selecting it.

Signed-off-by: Anssi Hannula <anssi.hannula at iki.fi>
Cc: Nicolin Chen <Guangyu.Chen at freescale.com>
Cc: Mark Brown <broonie at kernel.org>
---

This one seems clear enough.

 arch/arm/boot/dts/imx6qdl.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
index ce0599134a69..3aef9a2f5fda 100644
--- a/arch/arm/boot/dts/imx6qdl.dtsi
+++ b/arch/arm/boot/dts/imx6qdl.dtsi
@@ -181,7 +181,7 @@
 					       <&sdma 15 18 0>;
 					dma-names = "rx", "tx";
 					clocks = <&clks 197>, <&clks 3>,
-						 <&clks 197>, <&clks 107>,
+						 <&clks 197>, <&clks 0>,
 						 <&clks 0>,   <&clks 118>,
 						 <&clks 0>,  <&clks 139>,
 						 <&clks 0>;
-- 
1.8.4.5



More information about the Alsa-devel mailing list