diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-07-01 00:56:36 +0800 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2016-06-06 19:12:27 -0400 |
commit | 141afa30231ef169dc4d1bcc00c00478068cf2f7 (patch) | |
tree | ddd0bbca913a6a425016d58a4afe6ee47e0e0983 /virt | |
parent | 4b126ba9fab396983926238ab018c727a086996e (diff) |
ASoC: ak4642: Fix up max_register setting
[ Upstream commit f8ea6cebcfa6499949392da71fc427567c9e5a0e ]
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@ingics.com>
Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions