[alsa-devel] [PATCH v2] ASoC: ak4642: Fix up max_register setting

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Wed Jul 1 02:12:50 CEST 2015


Hi

> The max_register setting for ak4642, ak4643 and ak4648 are wrong, fix it.
> 
> According to the datasheet:
>         the maximum valid register for ak4642 is 0x1f
>         the maximum valid register for ak4643 is 0x24
>         the maximum valid register for ak4648 is 0x27
> 
> The default settings for ak4642 and ak4643 are the same for 0x0 ~ 0x1f
> registers, so it's fine to use the same reg_default table with differnt
> num_reg_defaults setting.
> 
> Signed-off-by: Axel Lin <axel.lin at ingics.com>
> ---

I tested this patch on Lager board which has ak4643

For ak4643
Tested-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list