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

Commit df63c9cb authored by Sujeet Kumar's avatar Sujeet Kumar Committed by Matt Wagantall
Browse files

USB: android: Enable streaming only during composition enable



ADB may reset the connection by writing into EP0 file
on every disconnect. unbind config disables the streaming
enabled flag. On next USB connect streaming mode is not
enabled because the flag was disabled already.

Enable streaming mode during composition enable and mark
the streaming enabled flag just before that. If the interface
needs to enable streaming mode then it is enabled at that
time.

Change-Id: I22eb5e6c7de50e7a81ab29296ca96b97229cc9cf
Signed-off-by: default avatarSujeet Kumar <ksujeet@codeaurora.org>
parent 98b9b566
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