]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs4270: pull reset GPIO low then high
authorMike Willard <mwillard@izotope.com>
Wed, 1 Apr 2020 20:54:54 +0000 (20:54 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 7 Apr 2020 14:29:54 +0000 (15:29 +0100)
commita323f37b591f4ca24e72032c83bb81ad890d27aa
treedf412355ff6b1d786100fe52553922c14d8aaae6
parent00f8788d882b366ee5536a1237063104c50c21f1
ASoC: cs4270: pull reset GPIO low then high

Pull the RST line low then high when initializing the driver,
in order to force a reset of the chip.
Previously, the line was not pulled low, which could result in
the chip registers not resetting to their default values on boot.

Signed-off-by: Mike Willard <mwillard@izotope.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20200401205454.79792-1-mwillard@izotope.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs4270.c