mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
Merge "cnss2: Only assert for remap window register when link is not down"
This commit is contained in:
commit
c0c9fb9089
1 changed files with 2 additions and 1 deletions
|
|
@ -410,7 +410,8 @@ static void cnss_pci_select_window(struct cnss_pci_data *pci_priv, u32 offset)
|
|||
if (val != window_enable) {
|
||||
cnss_pr_err("Failed to config window register to 0x%x, current value: 0x%x\n",
|
||||
window_enable, val);
|
||||
CNSS_ASSERT(0);
|
||||
if (!cnss_pci_check_link_status(pci_priv))
|
||||
CNSS_ASSERT(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue