ASoC: tegra: Don't claim to support PCM pause and resume
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 3 Apr 2013 09:00:01 +0000 (11:00 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 3 Apr 2013 17:11:08 +0000 (18:11 +0100)
commit5aa995e83ac7727b7705431e6eb2b317c59b95ba
tree1b3fe09db3295725c1d30c4b393ba58ddfc9a91b
parent07961ac7c0ee8b546658717034fe692fd12eefa9
ASoC: tegra: Don't claim to support PCM pause and resume

The tegra dmaengine driver does not support pausing and resuming a DMA stream.
The tegra PCM driver still claims to support pause and resume though and
implements them by stopping and restarting the stream. This is not what an
application using pause/resume would expect. Usually applications have support
for working around PCMs which do not support suspend and resume, so don't set
the SNDRV_PCM_INFO_PAUSE and SNDRV_PCM_INFO_RESUME flags for the tegra PCM and
use the default snd_dmaengine_pcm_trigger callback.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/tegra/tegra_pcm.c