diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2020-07-20 10:19:14 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-07-23 19:07:35 +0100 |
commit | 371a014d4260e119b5ae9df782af88cc58557df1 (patch) | |
tree | b8f39bab2e33824ccfee6873f2931b99c4f32de3 /sound/soc/meson/meson-codec-glue.c | |
parent | a7c7ff1a47ff6974b6fc4ab30632cd0ad02797b1 (diff) |
ASoC: meson: use asoc_substream_to_rtd()
Now we can use asoc_substream_to_rtd() macro,
let's use it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/875zaj0ysr.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/meson/meson-codec-glue.c')
-rw-r--r-- | sound/soc/meson/meson-codec-glue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/meson/meson-codec-glue.c b/sound/soc/meson/meson-codec-glue.c index 524a33472337..d07270d17cee 100644 --- a/sound/soc/meson/meson-codec-glue.c +++ b/sound/soc/meson/meson-codec-glue.c @@ -98,7 +98,7 @@ EXPORT_SYMBOL_GPL(meson_codec_glue_input_set_fmt); int meson_codec_glue_output_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) { - struct snd_soc_pcm_runtime *rtd = substream->private_data; + struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); struct meson_codec_glue_input *in_data = meson_codec_glue_output_get_input_data(dai->capture_widget); |