ASOC:Pickup marley codec patch from ODM's base
authoryao zhengming <yaozm1@motorola.com>
Tue, 22 Jan 2019 04:55:40 +0000 (23:55 -0500)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:30:38 +0000 (17:30 +0800)
(CR):[Kane][audio]kernel:hp and ep switch to mono mode

1,hp and ep switch to mono mode,because ep and hp switch ,the
stereo mode can not be setted again
2,solution: add the "HPOUT1 Mono Switch" to set mono and stereo
mode

Change-Id: I9bc05a373a3639e8194d8d330c20caf79d75f8ee
Signed-off-by: zhangjiaquan <zhangjiaquan@huaqin.com>
Signed-off-by: yaozm1 <yaozm1@mt.com>
Reviewed-on: https://gerrit.mot.com/1300904
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

sound/soc/codecs/cs47l35.c

index 19df5ece275b1d1fa9fe24fff34d806c71dcc092..ca54b48a7a03ce23a8fc8e175c5a86508aa24dad 100755 (executable)
@@ -546,6 +546,9 @@ SOC_SINGLE("HPOUT1R ONEFLT Switch", MADERA_HP_TEST_CTRL_6,
 SOC_SINGLE("SPKDAT1 High Performance Switch", MADERA_OUTPUT_PATH_CONFIG_5L,
           MADERA_OUT5_OSR_SHIFT, 1, 0),
 
+SOC_SINGLE("HPOUT1 Mono Switch", MADERA_OUTPUT_PATH_CONFIG_1L,
+         MADERA_OUT1_MONO_SHIFT, 1, 0),
+
 SOC_DOUBLE_R("HPOUT1 Digital Switch", MADERA_DAC_DIGITAL_VOLUME_1L,
             MADERA_DAC_DIGITAL_VOLUME_1R, MADERA_OUT1L_MUTE_SHIFT, 1, 1),
 SOC_SINGLE("Speaker Digital Switch", MADERA_DAC_DIGITAL_VOLUME_4L,