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

Commit 3e065b68 authored by Ajay Agarwal's avatar Ajay Agarwal
Browse files

usb: gadget: Fix support for 2 serial ports over char_bridge



Currently, u_data_bridge driver specifies that we can
have 2 port instances supported over it. But there is
a bug in the setup function to check the number of ports.
Fix the bug and also add corresponding port_num support
in f_serial driver.

Change-Id: I564914ff737bee8bd89e08153190d65219d002cd
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent a70fb461
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