Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8a7e3a7 authored by Azhar Shaikh's avatar Azhar Shaikh
Browse files

net: usbnet: Do not wait for ipa_ready_callback



Commit 8c949509 ("net: usbnet: Perform IPA initialization
after IPA is ready") waits for IPA ready call back to unblock
usbnet_probe and then initialize the odu bridge. But while booting
up in HOST mode with device connected, the IPA is not ready by
the time USB is ready and it gets blocked at the wait instead of
continuing further. This leads to usbnet_probe failure since the
wait for ipa ready callback is timedout.
So instead of waiting for the ipa_ready_callback, in usbnet_probe()
just continue with probe and do odu_bridge_init() whenever
ipa is ready. Schedule a work for odu_bridge_init() to avoid
inter-locking of IPA functions.

Change-Id: I439643d61814e59c7a87eca2195b72471bface2b
Signed-off-by: default avatarAzhar Shaikh <azhars@codeaurora.org>
parent 0ce8ed27
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment