From a12f2bc3121720a68345b425fc6b48ebe8a0ab37 Mon Sep 17 00:00:00 2001 From: yao zhengming Date: Mon, 21 Jan 2019 23:55:40 -0500 Subject: [PATCH] ASOC:Pickup marley codec patch from ODM's base (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 Signed-off-by: yaozm1 Reviewed-on: https://gerrit.mot.com/1300904 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- sound/soc/codecs/cs47l35.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sound/soc/codecs/cs47l35.c b/sound/soc/codecs/cs47l35.c index 19df5ece275b..ca54b48a7a03 100755 --- a/sound/soc/codecs/cs47l35.c +++ b/sound/soc/codecs/cs47l35.c @@ -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, -- 2.20.1