]> 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)
commit3c5075aa8ab76d44b11d170d0e416ee38188cab8
tree8cffdd8b37941fa453bcb23c096bd3a71ee2aa4a
parent88fa2f7f38b4d2643a48b85595412833244accde
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