]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: ufs-qcom: phy/hcd: Refactoring phy clock handling
authorVivek Gautam <vivek.gautam@codeaurora.org>
Tue, 8 Nov 2016 10:07:48 +0000 (15:37 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2016 23:05:45 +0000 (18:05 -0500)
commitfeb3d79800ece19c18b979c5edd1c28755f59d07
treebee58426ef46d18ceef90ad7c056b64d294ae39a
parent9c7ce698ba41eec51b7d3e6a68c29fca26a32793
scsi: ufs-qcom: phy/hcd: Refactoring phy clock handling

Add phy clock enable code to phy_power_on/off callbacks, and
remove explicit calls to enable these phy clocks from the
ufs-qcom hcd driver.

Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/phy/phy-qcom-ufs.c
drivers/scsi/ufs/ufs-qcom.c
include/linux/phy/phy-qcom-ufs.h