ASoC: amd: acp: Set Speaker enable/disable pin through rt1019 codec driver.
authorV sujith kumar Reddy <Vsujithkumar.Reddy@amd.com>
Mon, 16 May 2022 16:06:10 +0000 (21:36 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 19 May 2022 15:46:43 +0000 (16:46 +0100)
commit17572892e3beefe68d0875ecfd015eef521c244d
treebb69d5a25e67cf580ef38df964ba971267a862e9
parent6107fb660749507d5e02988151e45884b5423cdc
ASoC: amd: acp: Set Speaker enable/disable pin through rt1019 codec driver.

RT1019 codec has two ways of controlling the en_spkr.  one way is
controlling through gpio pin method the another way is through codec
register update through driver.

Now Speaker enable/disable is controlled  through codec register updated
by codec driver.  This patch reverts gpio logic.

This reverts commit 5c5f08f7fc0bee9a1bc3fbdcb7a21cfd0648ab14 ("ASoC:
amd: acp: Power on/off the speaker enable gpio pin based on DAPM
callback.")

Signed-off-by: V sujith kumar Reddy <Vsujithkumar.Reddy@amd.com>
Link: https://lore.kernel.org/r/20220516160619.17832-2-Vsujithkumar.Reddy@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/Kconfig
sound/soc/amd/acp/acp-legacy-mach.c
sound/soc/amd/acp/acp-mach-common.c
sound/soc/amd/acp/acp-mach.h
sound/soc/amd/acp/acp-sof-mach.c