Re: [PATCH] USB: DWC3: Correct DWC3_DSTS_SOFFN_MASK definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 21, 2012 at 12:45:46PM +0530, Pratyush Anand wrote:
> SOF Number is bit16:3 of DSTS. Corrct the mask accordingly.
> 
> Signed-off-by: Pratyush Anand <pratyush.anand@xxxxxx>
> ---
>  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 0b620b7..8079066 100644
> --- a/drivers/usb/dwc3/core.h
> +++ b/drivers/usb/dwc3/core.h
> @@ -254,7 +254,7 @@
>  
>  #define DWC3_DSTS_RXFIFOEMPTY		(1 << 17)
>  
> -#define DWC3_DSTS_SOFFN_MASK		(0x3ff << 3)
> +#define DWC3_DSTS_SOFFN_MASK		(0x1fff << 3)

That should be 0x3fff, no ? I just missed on "0xf" from the mask.

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux