From: Richard Fitzgerald Date: Fri, 9 Sep 2016 14:20:51 +0000 (+0100) Subject: mfd: cs47l15: Fix incorrect register defaults X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cbc4c8dfd1615574ad8f98c2b58f32528788a1db;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git mfd: cs47l15: Fix incorrect register defaults Update the register defaults for patched registers to be the patch value. Change-Id: If509efff07580345123758521e7cd654603c28a3 Signed-off-by: Richard Fitzgerald Signed-off-by: Charles Keepax --- diff --git a/drivers/mfd/cs47l15-tables.c b/drivers/mfd/cs47l15-tables.c index eba4c1da11ed..d4e68a8b6b1c 100644 --- a/drivers/mfd/cs47l15-tables.c +++ b/drivers/mfd/cs47l15-tables.c @@ -143,7 +143,7 @@ static const struct reg_default cs47l15_reg_default[] = { { 0x00000311, 0x0180 }, /* R785 (0x000311) - ADC_DIGITAL_VOLUME_1L */ { 0x00000312, 0x0500 }, /* R786 (0x000312) - DMIC1L_CONTROL */ { 0x00000313, 0x0000 }, /* R787 (0x000313) - IN1L_RATE_CONTROL */ - { 0x00000314, 0x0080 }, /* R788 (0x000314) - IN1R_CONTROL */ + { 0x00000314, 0x0081 }, /* R788 (0x000314) - IN1R_CONTROL */ { 0x00000315, 0x0180 }, /* R789 (0x000315) - ADC_DIGITAL_VOLUME_1R */ { 0x00000316, 0x0000 }, /* R790 (0x000316) - DMIC1R_CONTROL */ { 0x00000317, 0x0000 }, /* R791 (0x000317) - IN1R_RATE_CONTROL */ @@ -182,8 +182,8 @@ static const struct reg_default cs47l15_reg_default[] = { { 0x00000490, 0x0069 }, /* R1168 (0x000490) - PDM_SPK1_CTRL_1 */ { 0x00000491, 0x0000 }, /* R1169 (0x000491) - PDM_SPK1_CTRL_2 */ { 0x000004A0, 0x3080 }, /* R1184 (0x0004A0) - HP1 Short Circuit Ctrl */ - { 0x000004A8, 0x7120 }, /* R1192 (0x0004A8) - HP Test Ctrl 5 */ - { 0x000004A9, 0x7120 }, /* R1193 (0x0004A9) - HP Test Ctrl 6 */ + { 0x000004A8, 0x6020 }, /* R1192 (0x0004A8) - HP Test Ctrl 5 */ + { 0x000004A9, 0x6020 }, /* R1193 (0x0004A9) - HP Test Ctrl 6 */ { 0x00000500, 0x000C }, /* R1280 (0x000500) - AIF1_BCLK_CTRL */ { 0x00000501, 0x0000 }, /* R1281 (0x000501) - AIF1_TX_PIN_CTRL */ { 0x00000502, 0x0000 }, /* R1282 (0x000502) - AIF1_RX_PIN_CTRL */