From: Sachin Pandhare Date: Tue, 10 Nov 2015 18:08:02 +0000 (+0530) Subject: ASoC: wm8962: correct addresses for HPF_C_0/1 X-Git-Tag: v3.2.75~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba5021857b8651840d1830838db208ddfeed98ca;p=pandora-kernel.git ASoC: wm8962: correct addresses for HPF_C_0/1 commit e9f96bc53c1b959859599cb30ce6fd4fbb4448c2 upstream. From datasheet: R17408 (4400h) HPF_C_1 R17409 (4401h) HPF_C_0 17048 -> 17408 (0x4400) 17049 -> 17409 (0x4401) Signed-off-by: Sachin Pandhare Acked-by: Charles Keepax Signed-off-by: Mark Brown [bwh: Backported to 3.2: wm8962_reg is a sparse array, not an array of { offset, value } pairs] Signed-off-by: Ben Hutchings --- diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c index 8b687da89974..c79bd83023ed 100644 --- a/sound/soc/codecs/wm8962.c +++ b/sound/soc/codecs/wm8962.c @@ -373,8 +373,8 @@ static const u16 wm8962_reg[WM8962_MAX_REGISTER + 1] = { [16924] = 0x0059, /* R16924 - HDBASS_PG_1 */ [16925] = 0x999A, /* R16925 - HDBASS_PG_0 */ - [17048] = 0x0083, /* R17408 - HPF_C_1 */ - [17049] = 0x98AD, /* R17409 - HPF_C_0 */ + [17408] = 0x0083, /* R17408 - HPF_C_1 */ + [17409] = 0x98AD, /* R17409 - HPF_C_0 */ [17920] = 0x007F, /* R17920 - ADCL_RETUNE_C1_1 */ [17921] = 0xFFFF, /* R17921 - ADCL_RETUNE_C1_0 */