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

Skip to content
Commit ab573e4a authored by Sriharsha Allenki's avatar Sriharsha Allenki
Browse files

usb: gadget: f_uvc: Fix crash on disconnect/connect during streaming



The driver does a BUG_ON after cable connect if the
previous session of streaming is not closed. Fix this
by returning an error if the previous session of streaming
is not closed.
The user space application needs to close the streaming
after cable disconnect.

Change-Id: Ide47378efb0cdd0bef30ff7aa142a628eb1c962e
Signed-off-by: default avatarSriharsha Allenki <sallenki@codeaurora.org>
parent d9f72f76
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