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)
commitfe75fe0e041bd5badc6a0be0c3918590198df2a0
tree210ff79b759f9653953da7af8a264517239863ca
parent16aff769d73c6b66a79450d7218f31dc46962536
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