Re: [PATCH V2] 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 02:51:30PM +0530, Pratyush Anand wrote:
> SOF Number is bit16:3 of DSTS. Corrct the mask accordingly.
                                 ^^^^^^
				 Correct
> 
> Signed-off-by: Pratyush Anand <pratyush.anand@xxxxxx>
> Signed-off-by: Felipe Balbi <balbi@xxxxxx>

also, you can't add other people's SOB unless they say it's fine ;-)

I will apply this patch after -rc1 is tagged, if you want to resend with
the typo fix and without my SOB it's ok, but I can also fix this myself
this time ;-)

So not to worry, but just be a bit more careful on next patch ;-)

cheers

> ---
>  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..7621709 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		(0x3fff << 3)
>  #define DWC3_DSTS_SOFFN(n)		(((n) & DWC3_DSTS_SOFFN_MASK) >> 3)
>  
>  #define DWC3_DSTS_CONNECTSPD		(7 << 0)
> -- 
> 1.7.5.4
> 

-- 
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