mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 00:25:24 -04:00
scsi: ufs-cdns: Use phy_initialization helper
Use phy_initialization helper instead of direct function invocation. Link: https://lore.kernel.org/r/20201205120041.26869-4-stanley.chu@mediatek.com Reviewed-by: Avri Altman <avri.altman@wdc.com> Signed-off-by: Stanley Chu <stanley.chu@mediatek.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
committed by
Martin K. Petersen
parent
92bcebe4b6
commit
885445736b
@@ -221,8 +221,7 @@ static int cdns_ufs_init(struct ufs_hba *hba)
|
||||
return -ENOMEM;
|
||||
ufshcd_set_variant(hba, host);
|
||||
|
||||
if (hba->vops && hba->vops->phy_initialization)
|
||||
status = hba->vops->phy_initialization(hba);
|
||||
status = ufshcd_vops_phy_initialization(hba);
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user