dmaengine: axi-dmac: move clock enable earlier
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Tue, 25 Aug 2020 15:19:47 +0000 (18:19 +0300)
committerVinod Koul <vkoul@kernel.org>
Tue, 25 Aug 2020 15:37:10 +0000 (21:07 +0530)
commit08b36dba23e5b26a3f5dbeb5b0d8d7462ab38c12
tree32d058cf00a72c203ee97c26554bdfb5dbddf5d8
parenta88fdece44d40cd577454f0610ca7d2e37ca74df
dmaengine: axi-dmac: move clock enable earlier

The clock may also be required to read registers from the IP core (if it is
provided and the driver needs to control it).
So, move it earlier in the probe.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20200825151950.57605-4-alexandru.ardelean@analog.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dma-axi-dmac.c