]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Apr 2020 14:13:44 +0000 (16:13 +0200)
commitcf458f0ed6413b6241cccdefe870cb2b8e1b15fc
tree6d614b658e43ef9cb10c9dca02c38cf5670ce1cb
parenta9c0c79861b04b614729a81d14133dd691445be8
ASoC: cs4270: pull reset GPIO low then high

commit ccfc531695f3a4aada042f6bdb33ac6be24e1aec upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/cs4270.c