ASoC: pcm: If pmdown_time is zero then shut down DAPM immediately
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 8 Feb 2012 20:10:56 +0000 (20:10 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 9 Feb 2012 10:42:55 +0000 (10:42 +0000)
commitb5d1d036eadb30996184cc335c798219dd5922a9
tree5e720760cf7f180e46fd6b4c804da38b99bf7f39
parent4c6c0b5eee572a24345fdd1fac6aa670cc937a3a
ASoC: pcm: If pmdown_time is zero then shut down DAPM immediately

Since we've already got logic to special case immediate teardown of the
stream we may as well use it if the pmdown_time has been set to zero by
the application layer instead of scheduling a work item with zero delay.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
sound/soc/soc-pcm.c