From: Pratyush Anand Date: Mon, 21 May 2012 09:21:30 +0000 (+0530) Subject: USB: DWC3: Correct DWC3_DSTS_SOFFN_MASK definition X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d05b81824e672a48b3566634622849866de2b787;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git USB: DWC3: Correct DWC3_DSTS_SOFFN_MASK definition SOF Number is bit16:3 of DSTS. Correct the mask accordingly. Signed-off-by: Pratyush Anand Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index ce43b1f5f34..e402022b9e1 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)