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:Azhar Shaikh <azhars@codeaurora.org>
Loading
Please register or sign in to comment