mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
cnss2: Post register driver work as unkillable event
Register driver work handler will only power up device, resume PCIe link and start MHI to download firmware. It may only block there for a timeout, so there is no need to post it as killable event. Change-Id: Ib82050358dc8df4a8163ecb43702aa86ed34f23d Signed-off-by: Yue Ma <yuem@codeaurora.org>
This commit is contained in:
parent
084a5df97c
commit
b790cefd54
1 changed files with 1 additions and 6 deletions
|
|
@ -2159,13 +2159,8 @@ int cnss_wlan_register_driver(struct cnss_wlan_driver *driver_ops)
|
|||
register_driver:
|
||||
ret = cnss_driver_event_post(plat_priv,
|
||||
CNSS_DRIVER_EVENT_REGISTER_DRIVER,
|
||||
CNSS_EVENT_SYNC_UNINTERRUPTIBLE,
|
||||
CNSS_EVENT_SYNC_UNKILLABLE,
|
||||
driver_ops);
|
||||
if (ret == -EINTR) {
|
||||
cnss_pr_dbg("Register driver work is killed\n");
|
||||
del_timer(&plat_priv->fw_boot_timer);
|
||||
pci_priv->driver_ops = NULL;
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue