]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5d15f63fec607acdbb8ff7f5ecad1cd8ecbb8a89
treeab09643138aa45df8407c7451b55741298bf4c27
parent837e0eb1c9d194f0eb3cf87d97b2235de146c9fe
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