Re: [RFT] usb: Fix TX errors on devices with unsupported LPM states.

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

 



On Tue, 2 Oct 2012, Sarah Sharp wrote:

> --- a/include/linux/usb/ch9.h
> +++ b/include/linux/usb/ch9.h
> @@ -828,7 +828,9 @@ struct usb_ss_cap_descriptor {		/* Link Power Management */
>  #define USB_HIGH_SPEED_OPERATION	(1 << 2) /* High speed operation */
>  #define USB_5GBPS_OPERATION		(1 << 3) /* Operation at 5Gbps */
>  	__u8  bFunctionalitySupport;
> +#define	USB_U1_MAX_VALID_MEL		0x0A	/* U1 MEL is 10us, max */
>  	__u8  bU1devExitLat;
> +#define	USB_U2_MAX_VALID_MEL		0x7FF	/* U2 MEL is 2047us, max */
>  	__le16 bU2DevExitLat;
>  } __attribute__((packed));

Can these new values please be defined in decimal rather than hex?  
Then maybe the comments wouldn't be needed.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

  Powered by Linux