On 04/03/2013 11:19 AM, Laxman Dewangan wrote:Tegra PCM driver uses the dmaengine based DMA driver and Tegra DMAHm, I sent out the same patch just half an our or so ago.
driver does not support the pause/resume functionality as hardware
does not support it.
ALSA driver support the sw based pause/resume functionality if hardware
does not support it and in this case, hw driver should not provide
the hardware info with PAUSE/RESUME bit enable.
Remmoving the SNDRV_PCM_INFO_PAUSE and SNDRV_PCM_INFO_RESUME from hardware
info and using the snd_dmaengine_pcm_trigger() for pcm_trigger callback.
Signed-off-by: Laxman Dewangan <ldewangan@xxxxxxxxxx>