ASoC: intel: sof_sdw_cs42l43: Create separate jacks for hp and mic
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 19 Oct 2023 17:34:04 +0000 (12:34 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 19 Oct 2023 18:00:15 +0000 (19:00 +0100)
commitd74bad3b74524e4f34c97903ad170d9061bcfbd9
tree8fa69755a4e71c78467abffc6e5894816e3c1899
parenta92ccd574390149d3d64488ec5fe1e9b80e5f74c
ASoC: intel: sof_sdw_cs42l43: Create separate jacks for hp and mic

It makes sense to report the microphone separately from the headphones,
that way ALSA UCM can differentiate between switching the playback and
the capture. For example, still using the built-in microphone path when
a 3-pole headset is inserted.

Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20231019173411.166759-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_sdw_cs42l43.c