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

Commit f328227d authored by Manu Gautam's avatar Manu Gautam
Browse files

USB: android: Ensure at least two serial ports are initialized



Driver allows serial ports and transports initialization only once
during bootup. Hence, any attempt by user to switch to a composition
having more number of serial ports fails. As compositions with two
serial ports (with second one using TTY) are pretty common, make
sure there are at least two serials ports initialized to allow this.
And mark 2nd port to use TTY if user didn't specify the transport
explicitly.

CRs-fixed: 1012067
Change-Id: Ic1fe0044e2a54ab3243ae1f151c063d91de422d5
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent ec82f6fd
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