diff options
author | Pratyush Anand <pratyush.anand@st.com> | 2012-05-21 11:21:30 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-06-04 17:17:29 +0200 |
commit | d05b81824e672a48b3566634622849866de2b787 (patch) | |
tree | 30e5ffdcf905f33ddeddffe8fb1b2d29a5d08146 | |
parent | USB: DWC3: Correct DWC3_TRB_SIZE_TRBSTS definition (diff) | |
download | linux-d05b81824e672a48b3566634622849866de2b787.tar.xz linux-d05b81824e672a48b3566634622849866de2b787.zip |
USB: DWC3: Correct DWC3_DSTS_SOFFN_MASK definition
SOF Number is bit16:3 of DSTS. Correct the mask accordingly.
Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
-rw-r--r-- | drivers/usb/dwc3/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index ce43b1f5f341..e402022b9e15 100644 --- a/drivers/usb/dwc3/core.h +++ b/drivers/usb/dwc3/core.h @@ -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) |