diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2017-12-05 04:23:52 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-12-05 12:43:51 +0000 |
commit | 187c43df88196c0c4b231771a39e4a46f20a4f7a (patch) | |
tree | 53e1e875103f09d1b30e03998f1ad54241d42814 /sound/soc/intel | |
parent | 356a383bd978e58b5324284dc21210467968b4ff (diff) | |
download | linux-187c43df88196c0c4b231771a39e4a46f20a4f7a.tar.bz2 |
ASoC: don't use rtd->codec on Intel/haswell
rtd->codec will be removed soon.
rtd->codec = rtd->codec_dai->codec, thus,
we can use rtd->codec_dai->component instead of it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel')
-rw-r--r-- | sound/soc/intel/boards/haswell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/boards/haswell.c b/sound/soc/intel/boards/haswell.c index 5e1ea0371c90..3c5160779204 100644 --- a/sound/soc/intel/boards/haswell.c +++ b/sound/soc/intel/boards/haswell.c @@ -76,7 +76,7 @@ static int haswell_rt5640_hw_params(struct snd_pcm_substream *substream, } /* set correct codec filter for DAI format and clock config */ - snd_soc_update_bits(rtd->codec, 0x83, 0xffff, 0x8000); + snd_soc_component_update_bits(codec_dai->component, 0x83, 0xffff, 0x8000); return ret; } |