Skip to content

Commit

Permalink
ASoC: ak4535: fixup cache register table
Browse files Browse the repository at this point in the history
ak4535_reg should be 8bit, but cache table is defined as 16bit.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
  • Loading branch information
Axel Lin authored and Mark Brown committed Oct 13, 2011
1 parent 19b115e commit 7c04241
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sound/soc/codecs/ak4535.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ struct ak4535_priv {
/*
* ak4535 register cache
*/
static const u16 ak4535_reg[AK4535_CACHEREGNUM] = {
0x0000, 0x0080, 0x0000, 0x0003,
0x0002, 0x0000, 0x0011, 0x0001,
0x0000, 0x0040, 0x0036, 0x0010,
0x0000, 0x0000, 0x0057, 0x0000,
static const u8 ak4535_reg[AK4535_CACHEREGNUM] = {
0x00, 0x80, 0x00, 0x03,
0x02, 0x00, 0x11, 0x01,
0x00, 0x40, 0x36, 0x10,
0x00, 0x00, 0x57, 0x00,
};

static const char *ak4535_mono_gain[] = {"+6dB", "-17dB"};
Expand Down

0 comments on commit 7c04241

Please sign in to comment.