diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-05-11 13:47:47 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-05-11 15:55:06 +0200 |
commit | 051e994e9506e64259df34e91b028fe2470fbf2a (patch) | |
tree | bc92c9182e3560d8975ffac6f419654111a519da /sound | |
parent | 3afb1b3e6fa358d8c7e652b80be6d0cde07b4b40 (diff) | |
download | linux-3.10-051e994e9506e64259df34e91b028fe2470fbf2a.tar.gz linux-3.10-051e994e9506e64259df34e91b028fe2470fbf2a.tar.bz2 linux-3.10-051e994e9506e64259df34e91b028fe2470fbf2a.zip |
ASoC: Don't squash 16x8 registers down to 8 bits
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/soc-cache.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/soc-cache.c b/sound/soc/soc-cache.c index 687beec5647..6e5e30a17f8 100644 --- a/sound/soc/soc-cache.c +++ b/sound/soc/soc-cache.c @@ -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); } |