mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 04:42:04 -04:00
BACKPORT: scsi: ufs: use ufshcd_vops_dbg_register_dump for vendor specific dumps
We already have ufshcd_vops_dbg_register_dump() thus all "hba->vops->dbg_register_dump" references can be replaced by it. Bug: 149040610 Change-Id: Ibffc86ef57a938481dee89f43d83b0df7d4fdb6a (cherry picked from commit 7c486d91f3d1913a9a6487301ad0ce290bbed9dd) [ Resolved minor conflict in drivers/scsi/ufshcd.c ] Link: https://lore.kernel.org/r/1577192466-20762-3-git-send-email-stanley.chu@mediatek.com Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Can Guo <cang@codeaurora.org> Reviewed-by: Alim Akhtar <alim.akhtar@samsung.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:
parent
6dc86ee280
commit
548d799b72
1 changed files with 1 additions and 2 deletions
|
|
@ -430,8 +430,7 @@ static void ufshcd_print_host_regs(struct ufs_hba *hba)
|
|||
|
||||
ufshcd_print_clk_freqs(hba);
|
||||
|
||||
if (hba->vops && hba->vops->dbg_register_dump)
|
||||
hba->vops->dbg_register_dump(hba);
|
||||
ufshcd_vops_dbg_register_dump(hba);
|
||||
|
||||
ufshcd_crypto_debug(hba);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue