phy: zynqmp: Handle the clock enable/disable properly
authorManish Narani <manish.narani@xilinx.com>
Wed, 24 Mar 2021 12:18:45 +0000 (17:48 +0530)
committerVinod Koul <vkoul@kernel.org>
Wed, 31 Mar 2021 12:55:54 +0000 (18:25 +0530)
commit67097754afc90a5def9d54c599d0862fe992f5a0
tree92e28c0a65dd630bcc01d04a5e4b4ef1d39fbd56
parent5e15fdc302d1aed8ec8df65ef655242a2ac24e91
phy: zynqmp: Handle the clock enable/disable properly

The current driver is not handling the clock enable/disable operations
properly. The clocks need to be handled correctly by enabling or
disabling at appropriate places. This patch adds code to handle the
same.

Signed-off-by: Manish Narani <manish.narani@xilinx.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/1616588325-95602-1-git-send-email-manish.narani@xilinx.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/xilinx/phy-zynqmp.c