ASoC: dwc: add DMA handshake control
authorMaxim Kochetkov <fido_max@inbox.ru>
Tue, 13 Jun 2023 19:19:08 +0000 (22:19 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 19 Jun 2023 22:29:24 +0000 (23:29 +0100)
commita42e988b6265dcd489feb1adab8551b40c988f43
treef2524d49abe0d6c359b0b92cb66f9d4225e1fec0
parent02474880e8fdd8533f21da4264a7ebfce8196be7
ASoC: dwc: add DMA handshake control

DMA mode uses hardware handshake signals. DMACR register is used to enable
the DMA Controller interface operation. So add DMA enable/disable to
i2s_start()/i2s_stop() functions if using DMA mode.

Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Link: https://lore.kernel.org/r/20230613191910.725049-1-fido_max@inbox.ru
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/dwc/dwc-i2s.c
sound/soc/dwc/local.h