Merge "icnss: Make driver register asynchronous to probe"
This commit is contained in:
commit
0afdb965c7
1 changed files with 1 additions and 2 deletions
|
@ -2110,7 +2110,6 @@ static int icnss_driver_event_register_driver(void *data)
|
|||
|
||||
power_off:
|
||||
icnss_hw_power_off(penv);
|
||||
penv->ops = NULL;
|
||||
out:
|
||||
return ret;
|
||||
}
|
||||
|
@ -2646,7 +2645,7 @@ int icnss_register_driver(struct icnss_driver_ops *ops)
|
|||
}
|
||||
|
||||
ret = icnss_driver_event_post(ICNSS_DRIVER_EVENT_REGISTER_DRIVER,
|
||||
ICNSS_EVENT_SYNC, ops);
|
||||
0, ops);
|
||||
|
||||
if (ret == -EINTR)
|
||||
ret = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue