ASoC: Intel: sof_da7219_max98373: remap jack pins
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 16 Jun 2022 21:40:53 +0000 (16:40 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 17 Jun 2022 09:46:32 +0000 (10:46 +0100)
commit2913bb1f6830251416659dbb04c392bbc9592f14
tree1309427d679a32f641ee661b7a6cb530bad9c21f
parent7459c8940a506280908f8b5e9e4227784a0b6569
ASoC: Intel: sof_da7219_max98373: remap jack pins

The card did not map jack pins to controls, which prevents
PulseAudio/PipeWire from dealing with jack detection. It's likely that
jack detection was only tested with the CRAS server and extensions of
UCM.

Suggested-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20220616214055.134943-12-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_da7219_max98373.c