From 1b9080507239bb965d008e12b045ee25d464dd2f Mon Sep 17 00:00:00 2001 From: "jian.zhou" Date: Tue, 13 Aug 2019 04:12:29 -0400 Subject: [PATCH] audio: fix the sound phase is invert in speaker output [1/1] MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit PD#SWPL-7679 Problem: the sound phase is invert in speaker output Solution: PWMR_X need match 1:No exchanged Verify: T962E2 AB311 Change-Id: Ib1720b6418ead08617f66b090783bab27e1d347e Signed-off-by: jian.zhou --- sound/soc/codecs/amlogic/ad82584f.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/amlogic/ad82584f.c b/sound/soc/codecs/amlogic/ad82584f.c index 1f384d0f9d33..c1c69cbd597b 100644 --- a/sound/soc/codecs/amlogic/ad82584f.c +++ b/sound/soc/codecs/amlogic/ad82584f.c @@ -69,7 +69,7 @@ static int ad82584f_set_eq_drc(struct snd_soc_codec *codec); /* Power-up register defaults */ static const struct reg_default ad82584f_reg_defaults[AD82584F_REGISTER_COUNT] = { - {0x00, 0x00},//##State_Control_1 + {0x00, 0x04},//##State_Control_1 {0x01, 0x04},//##State_Control_2 {0x02, 0x30},//##State_Control_3 {0x03, 0x4e},//##Master_volume_control @@ -207,7 +207,7 @@ struct reg_default ad82584f_reg_defaults[AD82584F_REGISTER_COUNT] = { }; static const int m_reg_tab[AD82584F_REGISTER_COUNT][2] = { - {0x00, 0x00},//##State_Control_1 + {0x00, 0x04},//##State_Control_1 {0x01, 0x04},//##State_Control_2 {0x02, 0x30},//##State_Control_3 {0x03, 0x4e},//##Master_volume_control -- 2.20.1