ASoC: Intel: sof_nau8825: remap jack pins
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 16 Jun 2022 21:40:54 +0000 (16:40 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 17 Jun 2022 09:46:33 +0000 (10:46 +0100)
commit2a172d2f06c155ea7c9b34f47febdfe9b9bbe1c2
tree2d0d4cd98398e70c916805575e1fb6ff8ff9319a
parent2913bb1f6830251416659dbb04c392bbc9592f14
ASoC: Intel: sof_nau8825: 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-13-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_nau8825.c