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

Commit 0361886d authored by Sujeet Kumar's avatar Sujeet Kumar Committed by Gerrit - the friendly Code Review server
Browse files

USB: android: Initialize only serial boot ports



If the usb composition switch is enabling higher
serial interfaces than earlier then adding the second
instance would cause target to crash because the
data structures would not be valid.

Enabling higher serial interface like switching usb
composition from DUN to DUN,NMEA adds the second
instance NMEA but it is not initialized earlier
as the initialization is allowed only once during the
bind config. Limit the serial ports init only for boot
ports and allow only those instances to be added.

Change-Id: I892b3d850dc2e70f98444d7245860dac11ed1030
Signed-off-by: default avatarSujeet Kumar <ksujeet@codeaurora.org>
Signed-off-by: default avatarChandanaKishori Chiluveru <cchilu@codeaurora.org>
parent b8fafd20
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