scsi: ufs: Move ufshcd_vops_dbg_register_dump out of ufshcd_print_host_regs
If ufshcd_print_host_regs() is called from IRQ context, some registers like
test bus and UFS PHY will not be printed by ufshcd_vops_dbg_register_dump()
due to sleep is not allowed. Move ufshcd_vops_dbg_register_dump out of
ufshcd_print_host_regs and explicitly call ufshcd_vops_dbg_register_dump
where we need to.
Change-Id: Icde9a71fc578c43af04a5329b04353d87217ce4f
Signed-off-by:
Can Guo <cang@codeaurora.org>
Loading
Please register or sign in to comment