Re: [PATCH] usb: gadget: enlarge maxburst bit width.

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

 



On Mon, Dec 19, 2011 at 05:15:01PM +0800, Yu Xu wrote:
> For super speed bulk transfer, the max burst size
> is 16, so that 4 bits of maxburst cannot store it.
> 
> Signed-off-by: Yu Xu <yuxu@xxxxxxxxxxx>
> ---
>  include/linux/usb/gadget.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h
> index 317d892..f96af52 100644
> --- a/include/linux/usb/gadget.h
> +++ b/include/linux/usb/gadget.h
> @@ -164,7 +164,7 @@ struct usb_ep {
>  	unsigned		maxpacket:16;
>  	unsigned		max_streams:16;
>  	unsigned		mult:2;
> -	unsigned		maxburst:4;
> +	unsigned		maxburst:8;

the USB specification defines this as 5 bits. Use the same size, please

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