dmaengine: at_xdmac: call at_xdmac_axi_config() on resume path
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Thu, 7 Oct 2021 11:12:27 +0000 (14:12 +0300)
committerVinod Koul <vkoul@kernel.org>
Mon, 18 Oct 2021 06:12:07 +0000 (11:42 +0530)
commitfa5270ec2f2688d98a82895be7039b81c87d856c
tree7bf8c1081f9a10a599bfa8c365e2d0afb8a36a8e
parent1f6a89efbf9981a637bf472a5662e4d3746af530
dmaengine: at_xdmac: call at_xdmac_axi_config() on resume path

at_xdmac could be used on SoCs which supports backup mode (where most
of the SoC power, including power to DMA controller, is closed at suspend
time). Thus, on resume, the settings which were previously done need to be
restored. Do the same for axi configuration.

Fixes: f40566f220a1 ("dmaengine: at_xdmac: add AXI priority support and recommended settings")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20211007111230.2331837-2-claudiu.beznea@microchip.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/at_xdmac.c