ASoC: pcm: allow backend hardware to be freed in pause state
authorPatrick Lai <plai@codeaurora.org>
Thu, 20 Dec 2012 03:36:02 +0000 (19:36 -0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 20 Dec 2012 15:59:46 +0000 (15:59 +0000)
When front-end PCM session is in paused state, back-end
PCM session will be put in paused state as well if given
front-end PCM session is the only client of given back-end.
Then, application closes front-end PCM session, DPCM
framework will not allow back-end enters HW_FREE state
so back-end will never get shutdown completely.

Signed-off-by: Patrick Lai <plai@codeaurora.org>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org

No differences found