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

Skip to content
Commit 444f3179 authored by Elson Roy Serrao's avatar Elson Roy Serrao
Browse files

usb: dwc3: correct the super speed check api



When the device operates in full speed mode, the CONNECTSPD field
vaue is 1. Using bitwise & operator on this value for super speed
check results in full speed being erroneously calculated as super
speed. Fix this by comparing the absolute value of CONNECTSPD for
super speed check.

Change-Id: I2bf497748f621b1982aecda55a9a280d93f84858
Signed-off-by: default avatarElson Roy Serrao <eserrao@codeaurora.org>
parent 4440785e
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