ASoC: STI: Fix reader substream pointer set
authorArnaud Pouliquen <arnaud.pouliquen@st.com>
Thu, 23 Mar 2017 18:39:54 +0000 (19:39 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 24 Mar 2017 18:44:07 +0000 (18:44 +0000)
commit3c9d3f1bc2defd418b5933bbc928096c9c686d3b
tree8cffdd8b37941fa453bcb23c096bd3a71ee2aa4a
parenta5de5b74a50113564a1e0850e2da96c37c35e55d
ASoC: STI: Fix reader substream pointer set

reader->substream is used in IRQ handler for error case but is never set.
Set value to pcm substream on DAI startup and clean it on dai shutdown.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sti/uniperif_reader.c