ASoC: Enforce the mask in snd_soc_update_bits()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 3 Jun 2011 16:09:14 +0000 (17:09 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 6 Jun 2011 11:48:42 +0000 (12:48 +0100)
commit78bf3c9ab69a957dfa58e521ce7fca056c86b980
tree37a0b57fe0bce39105a869fe5c7bfaefac4ccca4
parent51b3b5cabb1d7d6ca12416652e2df2e01eb61fb9
ASoC: Enforce the mask in snd_soc_update_bits()

Avoids issues if someone does a read followed by restore and doesn't mask
out only the bits being updated.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
sound/soc/soc-core.c