2015-11-10 18:08:17

by sachinpandhare

[permalink] [raw]
Subject: [PATCH v2] ASoC: wm8962: correct addresses for HPF_C_0/1

From: Sachin Pandhare <[email protected]>

>From datasheet:
R17408 (4400h) HPF_C_1
R17409 (4401h) HPF_C_0
17048 -> 17408 (0x4400)
17049 -> 17409 (0x4401)

Signed-off-by: Sachin Pandhare <[email protected]>
---
v1 -> v2: white space removal

sound/soc/codecs/wm8962.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index 39ebd7b..a7e7978 100644
--- a/sound/soc/codecs/wm8962.c
+++ b/sound/soc/codecs/wm8962.c
@@ -365,8 +365,8 @@ static const struct reg_default wm8962_reg[] = {
{ 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 */
--
1.9.1


2015-11-13 10:23:23

by Charles Keepax

[permalink] [raw]
Subject: Re: [alsa-devel] [PATCH v2] ASoC: wm8962: correct addresses for HPF_C_0/1

On Tue, Nov 10, 2015 at 11:38:02PM +0530, [email protected] wrote:
> From: Sachin Pandhare <[email protected]>
>
> >From datasheet:
> R17408 (4400h) HPF_C_1
> R17409 (4401h) HPF_C_0
> 17048 -> 17408 (0x4400)
> 17049 -> 17409 (0x4401)
>
> Signed-off-by: Sachin Pandhare <[email protected]>
> ---

Acked-by: Charles Keepax <[email protected]>

Thanks,
Charles