]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd150c052b47ea9daedccef25d9acdd0142b98554
tree8cffdd8b37941fa453bcb23c096bd3a71ee2aa4a
parent8cd2b40dad6f118d7287346f538ebda48662ad53
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