]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Fix return value of wm8962_gpio_direction_out()
authorAxel Lin <axel.lin@gmail.com>
Fri, 30 Dec 2011 15:38:03 +0000 (23:38 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 2 Jan 2012 13:08:34 +0000 (13:08 +0000)
commite112b0c0b848fbc51c8625a26e79b0aa5ef36e9b
tree210ff79b759f9653953da7af8a264517239863ca
parent1b6b563f8c228068b8cf541e3da91a8f31177734
ASoC: Fix return value of wm8962_gpio_direction_out()

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/wm8962.c