ASoC: dapm: Add component level pin switches
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Fri, 16 May 2025 13:10:08 +0000 (14:10 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 20 May 2025 10:15:38 +0000 (11:15 +0100)
commit737379e5062e26c59fe069a8bdad2ee363d52686
tree8a825ba54c0a4344f55c6a2fdba2eead0433f520
parent3849c958eeeb8e340112b983068c5547babc7274
ASoC: dapm: Add component level pin switches

The core currently supports pin switches for source/sink widgets, but
only at the card level. SDCA components specify the fabric at the
level of the individual components, to support this add helpers to
allow component level pin switches.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Link: https://patch.msgid.link/20250516131011.221310-5-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dapm.h
sound/soc/soc-dapm.c