ASoC: Intel: sof-sdw-cs42142: fix for codec button mapping
authorjairaj-arava <jairaj.arava@intel.com>
Mon, 7 Aug 2023 21:49:59 +0000 (16:49 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 7 Aug 2023 22:11:49 +0000 (23:11 +0100)
commite61994882611d1a49387be37fda005e0ef6226ac
tree073410add7721dbfe3e748591b75335ef0f16a8e
parentbd76caa26ab53ed3bf13ad541d69f119e910d764
ASoC: Intel: sof-sdw-cs42142: fix for codec button mapping

The CS42142 soundwire codec button mapping is corrected to
handle the button detection correctly.

Fixes: 43cdea08a4ac ("ASoC: Intel: sof_sdw: Add helper function for cs42l42 codec")
Signed-off-by: jairaj-arava <jairaj.arava@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20230807215000.515846-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_sdw_cs42l42.c