Shengjiu Wang 67b4307b20 ALSA: pcm_dmaengine: Don't synchronize DMA channel when DMA is paused
commit 88e98af9f4b5b0d60c1fe7f7f2701b5467691e75 upstream.

When suspended, the DMA channel may enter PAUSE state if dmaengine_pause()
is supported by DMA.
At this state, dmaengine_synchronize() should not be called, otherwise
the DMA channel can't be resumed successfully.

Fixes: e8343410ddf0 ("ALSA: dmaengine: Synchronize dma channel after drop()")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Cc: <stable@vger.kernel.org>
Link: https://patch.msgid.link/1721198693-27636-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-07-27 11:40:36 +02:00
..
2024-03-17 09:36:45 +01:00
2024-05-22 10:49:54 -07:00
2024-02-28 15:01:21 +01:00
2024-02-28 15:01:21 +01:00
2022-08-06 10:19:51 -07:00
2022-07-29 12:57:10 +02:00
2024-02-28 15:01:22 +01:00
2024-02-28 15:01:21 +01:00