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

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

USB: DWC3: Correct DWC3_TRB_SIZE_TRBSTS definition



Correct  define for DWC3_TRB_SIZE_TRBSTS.

Signed-off-by: default avatarPratyush Anand <pratyush.anand@st.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 206dd69a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -495,7 +495,7 @@ enum dwc3_device_state {
#define DWC3_TRB_SIZE_MASK	(0x00ffffff)
#define DWC3_TRB_SIZE_LENGTH(n)	((n) & DWC3_TRB_SIZE_MASK)
#define DWC3_TRB_SIZE_PCM1(n)	(((n) & 0x03) << 24)
#define DWC3_TRB_SIZE_TRBSTS(n)	(((n) & (0x0f << 28) >> 28))
#define DWC3_TRB_SIZE_TRBSTS(n)	(((n) & (0x0f << 28)) >> 28)

#define DWC3_TRBSTS_OK			0
#define DWC3_TRBSTS_MISSED_ISOC		1