ASoC: rt5677: use 'active low' logic for reset pin
authorAnatol Pomozov <anatol.pomozov@gmail.com>
Thu, 29 Oct 2015 22:31:59 +0000 (15:31 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 16 Nov 2015 10:14:32 +0000 (10:14 +0000)
commitcdab0d4ecc1a890aece7102c2074bf73175b9935
treeab09643138aa45df8407c7451b55741298bf4c27
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
ASoC: rt5677: use 'active low' logic for reset pin

According to the datasheet RESET is active low pin, i.e. system goes to
reset state when pin signal is low.

The previous implementeation was assuming the pin is configured as
'active high' in DTS. Changle the gpio handling code and DTS configuration
to 'active low'.

Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/rt5677.txt
sound/soc/codecs/rt5677.c