Commit 05b9ca47 authored by Manu Gautam's avatar Manu Gautam
Browse files

USB: gadget: android: Do not enable USB if usb_add_config fails



usb_add_config may fail while calling individual function's
bind_configs. This can happen if userspace tries to enable USB
before configuring the functions' parameters properly. Some
examples of such parameters are: DIAG transports and number of
RMNET instances.

Change-Id: I18380f2c6ddf4add0af66a1de62b0c5ae76ac6e4
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent d9609ac7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment