usb: gadget: u_data_ipa: Fix condition check for IPA pipes updation
Only RmNet and DPL need to update their IPA pipes
during ipa_data_connect_work context. Add this check
before updation of the pipes.
Also fix usage of spinlock to avoid potential
device crash.
Change-Id: I45d13b40fab9bf6686277c0c26a07668410cdfb2
Signed-off-by:
Ajay Agarwal <ajaya@codeaurora.org>
Loading
Please register or sign in to comment