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

Skip to content
Commit 43ff3e38 authored by Pratham Pratap's avatar Pratham Pratap
Browse files

usb: gsi: Prevent enabling data path if gsi is disconnected



If USB connect/disconnect happens too fast then there is a
possibility that for the connect case the state machine got
kicked in late lets say after disconnect. Now GSI driver will
go ahead and enable data path which can lead to SMMU fault.
Fix this by bailing out if gsi is in disconnected state.

Change-Id: I356ebd3fbac634f37e8eb6ff36a5a258f44a044b
Signed-off-by: default avatarPratham Pratap <prathampratap@codeaurora.org>
parent 28ad72b2
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