ASoC: ad193x: Use snd_soc_update_bits where appropriate
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 28 Nov 2011 16:28:11 +0000 (17:28 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 28 Nov 2011 18:57:52 +0000 (18:57 +0000)
commitb82ca578fd8b28d9600a077f4e24e22a71383fe8
tree9875d9f6039e7e2d6d61f806965aac577c7dca62
parent0718fd27775fcc335c728cfa4965ce78c0662b67
ASoC: ad193x: Use snd_soc_update_bits where appropriate

We can reduce the code size here a bit by using snd_soc_update_bits instead of
open-coding the read-modify-write cycle. The conversion done in this patch is
not completely straightforward and some minor code restructuring has been
incorporated to further reduce the code size.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/ad193x.c
sound/soc/codecs/ad193x.h