]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
dma: xilinx: zynqmp_dma: Enable clocks even when CONFIG_PM is disabled
authorKedareswara rao Appana <appana.durga.rao@xilinx.com>
Mon, 19 Jun 2017 06:15:50 +0000 (11:45 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 15 Mar 2018 13:16:11 +0000 (14:16 +0100)
commitc10e238d5f92117dc19fb4bdb107623dabbb66ab
treec3d334810e4d3f0b238249be20497c09f37c50d7
parent7e2ff06d9f28f6eabf1b90269d1b2e5020017b08
dma: xilinx: zynqmp_dma: Enable clocks even when CONFIG_PM is disabled

Currently the clocks are enabled only in the runtime calls.
When CONFIG_PM is disabled the driver does not work as the
Clocks are disabled.

Fix the same by enabling the clocks in probe and disable them in remove.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/dma/xilinx/zynqmp_dma.c