ASoC: SOF: Intel: hda-dai: use snd_soc_dai_get_widget() helper
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 21 Apr 2022 20:31:52 +0000 (15:31 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 25 Apr 2022 12:58:28 +0000 (13:58 +0100)
commit5ef85c9e42e5fc549e934669fdca352b3da97ec4
tree60c8921ada1dc01e978f716f5d8369232d65b145
parentb44c99f11de2c9f01b5526e668c476de976fd14d
ASoC: SOF: Intel: hda-dai: use snd_soc_dai_get_widget() helper

Use helper instead of open-coding the same thing multiple times.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@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/20220421203201.1550328-6-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-dai.c