audio: fix spdif out no sound [1/1]
authorjian.zhou <jian.zhou@amlogic.com>
Tue, 15 Oct 2019 07:43:20 +0000 (03:43 -0400)
committerTao Zeng <tao.zeng@amlogic.com>
Thu, 17 Oct 2019 05:41:19 +0000 (22:41 -0700)
PD#SWPL-13575

Problem:
The spdif out pinctrl name is not same in dts and spdif_codec code

Solution:
modify the DTS, and make spdif out pinctrl name same

Verify:
S912-Q201-DDR3

Change-Id: If93a71b4348ee98e3244ffd6a98bb405178fd24f
Signed-off-by: jian.zhou <jian.zhou@amlogic.com>
arch/arm/boot/dts/amlogic/gxm_q201_1g.dts
arch/arm/boot/dts/amlogic/gxm_q201_2g.dts
arch/arm64/boot/dts/amlogic/gxm_q201_1g.dts
arch/arm64/boot/dts/amlogic/gxm_q201_2g.dts

index 3a5234e..fe554e3 100644 (file)
        spdif_codec: spdif_codec{
                #sound-dai-cells = <0>;
                compatible = "amlogic, aml-spdif-codec";
-               pinctrl-names = "audio_spdif";
+               pinctrl-names = "audio_spdif_out";
                pinctrl-0 = <&audio_spdif_pins>;
        };
        pcm_codec: pcm_codec{
index 4402966..009b960 100644 (file)
        spdif_codec: spdif_codec{
                #sound-dai-cells = <0>;
                compatible = "amlogic, aml-spdif-codec";
-               pinctrl-names = "audio_spdif";
+               pinctrl-names = "audio_spdif_out";
                pinctrl-0 = <&audio_spdif_pins>;
        };
        pcm_codec: pcm_codec{
index f5ca9b1..f89fb00 100644 (file)
        spdif_codec: spdif_codec{
                #sound-dai-cells = <0>;
                compatible = "amlogic, aml-spdif-codec";
-               pinctrl-names = "audio_spdif";
+               pinctrl-names = "audio_spdif_out";
                pinctrl-0 = <&audio_spdif_pins>;
        };
        pcm_codec: pcm_codec{
index f3e9654..d6542ed 100644 (file)
        spdif_codec: spdif_codec{
                #sound-dai-cells = <0>;
                compatible = "amlogic, aml-spdif-codec";
-               pinctrl-names = "audio_spdif";
+               pinctrl-names = "audio_spdif_out";
                pinctrl-0 = <&audio_spdif_pins>;
        };
        pcm_codec: pcm_codec{