BACKPORT: scsi: ufs: Refactor ufshcd_setup_clocks() to remove skip_ref_clk
Remove the param skip_ref_clk from __ufshcd_setup_clocks(), but keep a flag in struct ufs_clk_info to tell whether a clock can be disabled or not while the link is active. Bug: 188004633 Change-Id: I7b0e48923a6e24edf23dd674061caee55ca4df67 (cherry picked from commit 81309c24) [Stanley: Resolved minor conflict in drivers/scsi/ufs/ufshcd.c] Link: https://lore.kernel.org/r/1606356063-38380-2-git-send-email-cang@codeaurora.org Reviewed-by:Hongwu Su <hongwus@codeaurora.org> Reviewed-by:
Bean Huo <beanhuo@micron.com> Reviewed-by:
Stanley Chu <stanley.chu@mediatek.com> Signed-off-by:
Can Guo <cang@codeaurora.org> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by:
Stanley Chu <stanley.chu@mediatek.com>
Loading
Please sign in to comment