Commit 145857fa authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Greg Kroah-Hartman

ASoC: ak4642: fixup cache register table

commit 19b115e5 upstream.

ak4642 register was 8bit, but cache table was defined as 16bit.
ak4642 doesn't work correctry without this patch.
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent d85b1ce7
...@@ -93,17 +93,17 @@ static struct snd_soc_codec *ak4642_codec; ...@@ -93,17 +93,17 @@ static struct snd_soc_codec *ak4642_codec;
/* /*
* ak4642 register cache * ak4642 register cache
*/ */
static const u16 ak4642_reg[AK4642_CACHEREGNUM] = { static const u8 ak4642_reg[AK4642_CACHEREGNUM] = {
0x0000, 0x0000, 0x0001, 0x0000, 0x00, 0x00, 0x01, 0x00,
0x0002, 0x0000, 0x0000, 0x0000, 0x02, 0x00, 0x00, 0x00,
0x00e1, 0x00e1, 0x0018, 0x0000, 0xe1, 0xe1, 0x18, 0x00,
0x00e1, 0x0018, 0x0011, 0x0008, 0xe1, 0x18, 0x11, 0x08,
0x0000, 0x0000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00,
0x0000, 0x0000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00,
0x0000, 0x0000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00,
0x0000, 0x0000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00,
0x0000, 0x0000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00,
0x0000, 0x00,
}; };
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment