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

Commit d05b8182 authored by Pratyush Anand's avatar Pratyush Anand Committed by Felipe Balbi
Browse files

USB: DWC3: Correct DWC3_DSTS_SOFFN_MASK definition



SOF Number is bit16:3 of DSTS. Correct the mask accordingly.

Signed-off-by: default avatarPratyush Anand <pratyush.anand@st.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 389f2828
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -291,7 +291,7 @@

#define DWC3_DSTS_RXFIFOEMPTY		(1 << 17)

#define DWC3_DSTS_SOFFN_MASK		(0x3ff << 3)
#define DWC3_DSTS_SOFFN_MASK		(0x3fff << 3)
#define DWC3_DSTS_SOFFN(n)		(((n) & DWC3_DSTS_SOFFN_MASK) >> 3)

#define DWC3_DSTS_CONNECTSPD		(7 << 0)