]> git.baikalelectronics.ru Git - kernel.git/commit
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:09 +0000 (21:36 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 19 May 2022 15:44:52 +0000 (16:44 +0100)
commit4794d49e8eefb77326559130ace2ae1890f121ac
tree4f0d4175c3c7fbcf03b42a07ec5596ea3e647442
parentd85217b724a2a5e07b323036cf4f2c82c73e6051
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 5bbbb07097b1bd2ba1dff7f9620fa4c20a7d0615 ("ASoC:
amd: acp: Set gpio_spkr_en to None for max speaker amplifer in machine
driver").

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