ASoC: wm8994: Unsuspend the device while reading GPIO statuses
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 6 Feb 2012 18:42:14 +0000 (18:42 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 6 Feb 2012 19:06:18 +0000 (19:06 +0000)
commit27060b3c64a1b9bc0b60c27da6153cf78919fa72
tree1fb4a555be479d1b4d052248aea406bdc11c2f05
parent5fab517476ad1e4af0043a7b8dd0bd4cdc58df9d
ASoC: wm8994: Unsuspend the device while reading GPIO statuses

Otherwise we might get an error if the GPIO is configured as an input
since that makes the register volatile and a suspended device can't be
read from.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8994.c