diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2020-07-20 03:17:39 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-07-23 20:07:19 +0200 |
commit | 0ceef681e34a61afcd77af0837b2132925c5bad4 (patch) | |
tree | 97c8af1bd0a9a2df249a69fa17cb0ac5eea42ff3 /sound/soc/ti/omap-abe-twl6040.c | |
parent | Merge series "ASoC: mediatek: mt8183: support machine driver for max98357b" f... (diff) | |
download | linux-0ceef681e34a61afcd77af0837b2132925c5bad4.tar.xz linux-0ceef681e34a61afcd77af0837b2132925c5bad4.zip |
ASoC: soc-xxx: add asoc_substream_to_rtd()
Current soc-xxx are getting rtd from substream by
rtd = substream->private_data;
But, getting data from "private_data" is very unclear.
This patch adds asoc_substream_to_rtd() macro which is
easy to understand that rtd from substream.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87wo2z0yve.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/ti/omap-abe-twl6040.c')
0 files changed, 0 insertions, 0 deletions