]> 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)
commitd7b1b21f82cd0cb4dab6e4a8f3e2dfac5d37f958
tree210ff79b759f9653953da7af8a264517239863ca
parentbd5c0a1912c9fea1da1ba6d55cf8f36b476020f8
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