Skip to content

Commit

Permalink
ASoC: Don't squash 16x8 registers down to 8 bits
Browse files Browse the repository at this point in the history
Currently we'll force all registers to fit in 8 bits before passing
down to the I/O function. Looks like a cut'n'paste bug.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
  • Loading branch information
Mark Brown committed May 11, 2011
1 parent 3afb1b3 commit 051e994
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/soc/soc-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,6 @@ static int snd_soc_16_8_write(struct snd_soc_codec *codec, unsigned int reg,
data[0] = (reg >> 8) & 0xff;
data[1] = reg & 0xff;
data[2] = value;
reg &= 0xff;

return do_hw_write(codec, reg, value, data, 3);
}
Expand Down

0 comments on commit 051e994

Please sign in to comment.