audio: fix the sound phase is invert in speaker output [1/1]

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 <jian.zhou@amlogic.com>
This commit is contained in:
jian.zhou
2019-08-13 04:12:29 -04:00
committed by Tao Zeng
parent 7b04897c70
commit 1b90805072

View File

@@ -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