]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfd72ac87241d9f7e2993a46d10f16cc64e29b232
tree7bf8c1081f9a10a599bfa8c365e2d0afb8a36a8e
parent4c59667c298e8acb5a05a937a84ef9ee6b1694a0
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: 84ba46c34611 ("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