]> 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)
commit8c0e67621350d889c47bc632e0e52ed223dead77
tree5f4db68b369cdf80c11145633f190b12919f9439
parent92636337aa7a31d74f6a7cca5daeb428fd6e1ec1
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