diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2018-03-28 03:48:07 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-03-28 04:10:32 +0200 |
commit | 4c50e1e3e2c29899c0226f7ad56d7266e814f2b3 (patch) | |
tree | 7aced096f50480d4ab400f5ff1c6d00195fd368c /sound/soc/amd | |
parent | Merge branch 'topic/intel' of https://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
download | linux-4c50e1e3e2c29899c0226f7ad56d7266e814f2b3.tar.xz linux-4c50e1e3e2c29899c0226f7ad56d7266e814f2b3.zip |
ASoC: amd: don't use codec anymore
commit c88d31153356 ("ASoC: amd: Enable da7219 master clock using common
clock framework") is using rtd->codec, but codec is replaced to component.
Let's use component
Fixes: c88d31153356 ("ASoC: amd: Enable da7219 master clock using common clock framework")
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd')
-rw-r--r-- | sound/soc/amd/acp-da7219-max98357a.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/amd/acp-da7219-max98357a.c b/sound/soc/amd/acp-da7219-max98357a.c index 99c6b5ce5c6c..b205c782e494 100644 --- a/sound/soc/amd/acp-da7219-max98357a.c +++ b/sound/soc/amd/acp-da7219-max98357a.c @@ -49,7 +49,6 @@ static int cz_da7219_init(struct snd_soc_pcm_runtime *rtd) { int ret; struct snd_soc_card *card = rtd->card; - struct snd_soc_codec *codec = rtd->codec; struct snd_soc_dai *codec_dai = rtd->codec_dai; struct snd_soc_component *component = codec_dai->component; @@ -69,7 +68,7 @@ static int cz_da7219_init(struct snd_soc_pcm_runtime *rtd) return ret; } - da7219_dai_clk = clk_get(codec->dev, "da7219-dai-clks"); + da7219_dai_clk = clk_get(component->dev, "da7219-dai-clks"); ret = snd_soc_card_jack_new(card, "Headset Jack", SND_JACK_HEADPHONE | SND_JACK_MICROPHONE | |