]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Fix return value of wm5100_gpio_direction_out()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 31 Oct 2011 19:02:13 +0000 (19:02 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 31 Oct 2011 19:08:31 +0000 (19:08 +0000)
commit1e88a535598b7a6434e6ad007ebc8e9bde5b291f
tree521fbcc4b739804945bdbe44fe2f605798810ef5
parentcd86f7044cca7763a416f725994357f5c39ed83a
ASoC: Fix return value of wm5100_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: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm5100.c