diff options
author | Anil Varughese <aniljoy@cadence.com> | 2019-08-02 12:21:12 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-08-07 21:50:15 -0400 |
commit | cb8b3359eb9c606421a42f3968c12211d6462906 (patch) | |
tree | 1cd6252251d22294b1a511c5c3a9c49d0a4090e3 /drivers/target | |
parent | dccc96abfb21dc19d69e707c38c8ba439bba7160 (diff) |
scsi: ufs: Configure clock in .hce_enable_notify() in Cadence UFS
Configure CDNS_UFS_REG_HCLKDIV in .hce_enable_notify() instead of
.setup_clock() because if UFSHCD resets the controller ip because of phy or
device related errors then CDNS_UFS_REG_HCLKDIV is reset to default value
and .setup_clock() is not called later in the sequence whereas
.hce_enable_notify will be called everytime controller is reenabled.
Signed-off-by: Anil Varughese <aniljoy@cadence.com>
Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions