ASoC: Intel: sof_sdw_rt711: use helper to get codec dai by name
authorBard Liao <yung-chuan.liao@linux.intel.com>
Thu, 8 Feb 2024 16:55:33 +0000 (10:55 -0600)
committerMark Brown <broonie@kernel.org>
Thu, 8 Feb 2024 21:23:11 +0000 (21:23 +0000)
commit91a959d8913e3f2d3c3baed0a8469f878c838ff2
tree24d17102d6a8d149439b5f1a6fb786f3408b4dd1
parent49f679a175b4fbdea88ba8787c22bce90c60565b
ASoC: Intel: sof_sdw_rt711: 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-13-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_sdw_rt711.c