diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-04-09 20:58:24 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-04-14 15:34:10 +0200 |
commit | 680ca80f731e11ff510f8ec2777f920ee228e54a (patch) | |
tree | b34cd994597c6ff312e14fb0e8ed833b3156d8f3 | |
parent | ASoC: Intel: sof_sdw_hdmi: remove codec_dai use (diff) | |
download | linux-680ca80f731e11ff510f8ec2777f920ee228e54a.tar.xz linux-680ca80f731e11ff510f8ec2777f920ee228e54a.zip |
ASoC: Intel: sof_sdw_rt1308: remove codec dai use
Use macro.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200409185827.16255-11-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/intel/boards/sof_sdw_rt1308.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/boards/sof_sdw_rt1308.c b/sound/soc/intel/boards/sof_sdw_rt1308.c index 321768e54d08..a3d0e053b1a6 100644 --- a/sound/soc/intel/boards/sof_sdw_rt1308.c +++ b/sound/soc/intel/boards/sof_sdw_rt1308.c @@ -93,7 +93,7 @@ static int rt1308_i2s_hw_params(struct snd_pcm_substream *substream, { struct snd_soc_pcm_runtime *rtd = substream->private_data; struct snd_soc_card *card = rtd->card; - struct snd_soc_dai *codec_dai = rtd->codec_dai; + struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); int clk_id, clk_freq, pll_out; int err; |