ASoC: da7219: Correct the process of setting up Gnd switch in AAD
authorDavid Rau <David.Rau.opensource@dm.renesas.com>
Tue, 17 Oct 2023 02:12:58 +0000 (10:12 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 17 Oct 2023 11:59:13 +0000 (12:59 +0100)
commite8ecffd9962fe051d53a0761921b26d653b3df6b
tree9c45b5bbf80f0ddee9ed54c73c6a500c409a9c8a
parent9c97790a07dc4f9bdc6e1701003dc9b86f749c71
ASoC: da7219: Correct the process of setting up Gnd switch in AAD

Enable Gnd switch to improve stability when Jack insert event
occurs, and then disable Gnd switch after Jack type detection
is finished.

Signed-off-by: David Rau <David.Rau.opensource@dm.renesas.com>
Link: https://lore.kernel.org/r/20231017021258.5929-1-David.Rau.opensource@dm.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/da7219-aad.c