ASoC: Intel: sof_sdw_cs42l42: use helper to get codec dai by name
authorBard Liao <yung-chuan.liao@linux.intel.com>
Thu, 8 Feb 2024 16:55:36 +0000 (10:55 -0600)
committerMark Brown <broonie@kernel.org>
Thu, 8 Feb 2024 21:23:14 +0000 (21:23 +0000)
commit5e052fba621c2c57172fc6a1a9d73692fcc6d06d
treee2fa0c91b0990eba31190120637368c995017c10
parent3e522c9852bc22ee4c257062fa6d57b4dd6b0f61
ASoC: Intel: sof_sdw_cs42l42: use helper to get codec dai by name

Use helper to get codec dai by name.

Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20240208165545.93811-16-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_sdw_cs42l42.c