]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: amd: acp: Power on/off the speaker enable gpio pin based on DAPM callback.
authorV sujith kumar Reddy <vsujithkumar.reddy@amd.com>
Fri, 24 Dec 2021 15:00:43 +0000 (20:30 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 24 Dec 2021 14:06:59 +0000 (14:06 +0000)
commit1cd58c011170171f3b7f300dccfc20f2cfaf17b5
tree5f4db68b369cdf80c11145633f190b12919f9439
parent4d87c9c155c12020d6648d3f76ed67db056ce574
ASoC: amd: acp: Power on/off the speaker enable gpio pin based on DAPM callback.

Configure the speaker gpio pin based on power sequence of the DAPM
speaker events.
Enable speaker after widget power up and Disable before widget  powerdown.

Signed-off-by: V sujith kumar Reddy <vsujithkumar.reddy@amd.com>
Link: https://lore.kernel.org/r/20211224150058.2444776-1-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