ASoC: Fix return value of wm8903_gpio_direction_in() and wm8903_gpio_direction_out()
authorAxel Lin <axel.lin@gmail.com>
Sat, 31 Dec 2011 03:01:41 +0000 (11:01 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 2 Jan 2012 13:08:39 +0000 (13:08 +0000)
commit385bd9379babaf0982c76e4c073d928e830df6ad
treefac1e175101fe097bd5c2f2ba98bbb62b44184ce
parent3c3f51f6a37ff9c3f8ffef2ab600d1482a9f30c8
ASoC: Fix return value of wm8903_gpio_direction_in() and wm8903_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/wm8903.c