mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
Merge "cnss2: Use correct timer for forcing FW assert"
This commit is contained in:
commit
3535559198
1 changed files with 2 additions and 3 deletions
|
|
@ -45,7 +45,6 @@
|
|||
|
||||
#define WAKE_MSI_NAME "WAKE"
|
||||
|
||||
#define FW_ASSERT_TIMEOUT 5000
|
||||
#define DEV_RDDM_TIMEOUT 5000
|
||||
|
||||
#ifdef CONFIG_CNSS_EMULATION
|
||||
|
|
@ -3943,8 +3942,8 @@ int cnss_pci_force_fw_assert_hdlr(struct cnss_pci_data *pci_priv)
|
|||
}
|
||||
|
||||
if (!test_bit(CNSS_DEV_ERR_NOTIFY, &plat_priv->driver_state)) {
|
||||
mod_timer(&plat_priv->fw_boot_timer,
|
||||
jiffies + msecs_to_jiffies(FW_ASSERT_TIMEOUT));
|
||||
mod_timer(&pci_priv->dev_rddm_timer,
|
||||
jiffies + msecs_to_jiffies(DEV_RDDM_TIMEOUT));
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue