OSDN Git Service

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)
commitccfc531695f3a4aada042f6bdb33ac6be24e1aec
treedf412355ff6b1d786100fe52553922c14d8aaae6
parent4146575eb0f0cb41e6d909234b654064d1bed183
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