]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1b6b563f8c228068b8cf541e3da91a8f31177734
treedad5f8dee4ce8b5be9aef3e5d6855be2e91e2e9a
parent19cdfecfd54c1c51db8e58ad9d34347be15c2d39
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