ASoC: don't use rtd->codec on qcom/apq8016_sbc
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 5 Dec 2017 04:24:13 +0000 (04:24 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 5 Dec 2017 12:44:23 +0000 (12:44 +0000)
commit96e1b9eef4e53a1fea2b889881ca293d153fe0d1
tree857fbb5c8bd46ed20cb16b19b6848970ff165bbb
parent5f6d1df8ced6bb52453149f96d9b7005058641b6
ASoC: don't use rtd->codec on qcom/apq8016_sbc

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>
sound/soc/qcom/apq8016_sbc.c