]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
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)
commit08b27848da620f206a8b6d80f26184485dd7aa40
tree97afc7bc57dc0b0322b116f98f5372f1a472d91b
parent8246b5b03ef4ab6f29ad8edad859c74b124323cb
ASoC: pcm: allow backend hardware to be freed in pause state

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
sound/soc/soc-pcm.c