diff options
author | Pratyush Anand <pratyush.anand@st.com> | 2012-05-21 09:21:30 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-06-04 15:17:29 (GMT) |
commit | d05b81824e672a48b3566634622849866de2b787 (patch) | |
tree | 30e5ffdcf905f33ddeddffe8fb1b2d29a5d08146 /drivers/usb/dwc3 | |
parent | 389f2828bb2a5f2acde9bdeffde02743684c1d86 (diff) | |
download | linux-d05b81824e672a48b3566634622849866de2b787.tar.xz |
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>
Diffstat (limited to 'drivers/usb/dwc3')
-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 ce43b1f..e402022 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) |