ASoC: soc-pcm: use defined stream
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 27 Feb 2020 01:54:38 +0000 (10:54 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 5 Mar 2020 13:15:18 +0000 (13:15 +0000)
commit25c2f5156dd57f03aee2de079248c23a56222c92
tree5a5c02853a5cdad9719149673e52a214fc74ad17
parentfd357ec595d36676c239d8d16706a270a961ac32
ASoC: soc-pcm: use defined stream

Many functions defines "stream = substream->stream", but
some of them is using "substream->stream" instead of "stream".
It is pointless. This patch uses defined stream.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/87mu947q1t.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-pcm.c