mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
Merge "cnss2: Add link status check before dumping MHI registers"
This commit is contained in:
commit
26bd2a4e23
1 changed files with 4 additions and 1 deletions
|
|
@ -4756,7 +4756,10 @@ int cnss_pci_force_fw_assert_hdlr(struct cnss_pci_data *pci_priv)
|
|||
return -EINVAL;
|
||||
|
||||
cnss_auto_resume(&pci_priv->pci_dev->dev);
|
||||
mhi_debug_reg_dump(pci_priv->mhi_ctrl);
|
||||
|
||||
if (!cnss_pci_check_link_status(pci_priv))
|
||||
mhi_debug_reg_dump(pci_priv->mhi_ctrl);
|
||||
|
||||
cnss_pci_dump_misc_reg(pci_priv);
|
||||
cnss_pci_dump_shadow_reg(pci_priv);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue