ASoC: Fix return value of ak4641_pcm_set_dai_fmt()
authorAxel Lin <axel.lin@gmail.com>
Fri, 30 Dec 2011 15:34:54 +0000 (23:34 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 2 Jan 2012 13:08:33 +0000 (13:08 +0000)
commit16aff769d73c6b66a79450d7218f31dc46962536
treedad5f8dee4ce8b5be9aef3e5d6855be2e91e2e9a
parent6065abf5ce8ba0ad945d21255a1d581ca30f2e18
ASoC: Fix return value of ak4641_pcm_set_dai_fmt()

We can't just pass back the return value of snd_soc_update_bits() as it
will be 1 if a bit changed rather than zero.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/ak4641.c