diff options
author | Vivek Gautam <vivek.gautam@codeaurora.org> | 2016-11-08 11:07:50 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-11-09 00:05:45 +0100 |
commit | d7fe6b661abc2d034a0ad7d582a630f347d56a7b (patch) | |
tree | 60c07be907205b204276c0073b50a0458ec7093d /drivers/scsi/ufs/ufs-qcom.c | |
parent | phy: qcom-ufs: Remove common layer phy exit callback (diff) | |
download | linux-d7fe6b661abc2d034a0ad7d582a630f347d56a7b.tar.xz linux-d7fe6b661abc2d034a0ad7d582a630f347d56a7b.zip |
scsi: ufs: qcom: Add phy_exit call in hcd exit path
Do a phy_exit() over the ufs phy in the ufs qcom exit path
to de-initialize the phy.
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>
Diffstat (limited to 'drivers/scsi/ufs/ufs-qcom.c')
-rw-r--r-- | drivers/scsi/ufs/ufs-qcom.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/ufs/ufs-qcom.c b/drivers/scsi/ufs/ufs-qcom.c index 5f70a35c053f..31df7838f790 100644 --- a/drivers/scsi/ufs/ufs-qcom.c +++ b/drivers/scsi/ufs/ufs-qcom.c @@ -1280,6 +1280,7 @@ static void ufs_qcom_exit(struct ufs_hba *hba) ufs_qcom_disable_lane_clks(host); phy_power_off(host->generic_phy); + phy_exit(host->generic_phy); } static int ufs_qcom_set_dme_vs_core_clk_ctrl_clear_div(struct ufs_hba *hba, |