diff mbox series

[6/8] usb: gadget: uvc: configfs: Document the bFormatIndex attribute

Message ID 20180801002909.2890-7-laurent.pinchart@ideasonboard.com (mailing list archive)
State New, archived
Headers show
Series usb: gadget: uvc: Improve configfs support | expand

Commit Message

Laurent Pinchart Aug. 1, 2018, 12:29 a.m. UTC
Document for the bFormatIndex attribute of the format descriptors is
missing. Add it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 Documentation/ABI/testing/configfs-usb-gadget-uvc | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Kieran Bingham Aug. 1, 2018, 10:11 a.m. UTC | #1
Hi Laurent,

On 01/08/18 01:29, Laurent Pinchart wrote:
> Document for the bFormatIndex attribute of the format descriptors is
> missing. Add it.

It might be missing, but only just since the previous patch.

Perhaps this should squash into [5/8] ?


> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
>  Documentation/ABI/testing/configfs-usb-gadget-uvc | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/Documentation/ABI/testing/configfs-usb-gadget-uvc b/Documentation/ABI/testing/configfs-usb-gadget-uvc
> index 9281e2aa38df..9896c8aa0e14 100644
> --- a/Documentation/ABI/testing/configfs-usb-gadget-uvc
> +++ b/Documentation/ABI/testing/configfs-usb-gadget-uvc
> @@ -160,6 +160,10 @@ Description:	Specific MJPEG format descriptors
>  
>  		All attributes read only,
>  		except bmaControls and bDefaultFrameIndex:
> +		bFormatIndex		- unique id for this format descriptor;
> +					only defined after parent header is
> +					linked into the streaming class;
> +					read-only
>  		bmaControls		- this format's data for bmaControls in
>  					the streaming header
>  		bmInterfaceFlags	- specifies interlace information,
> @@ -204,6 +208,10 @@ Date:		Dec 2014
>  KernelVersion:	4.0
>  Description:	Specific uncompressed format descriptors
>  
> +		bFormatIndex		- unique id for this format descriptor;
> +					only defined after parent header is
> +					linked into the streaming class;
> +					read-only
>  		bmaControls		- this format's data for bmaControls in
>  					the streaming header
>  		bmInterfaceFlags	- specifies interlace information,
>
diff mbox series

Patch

diff --git a/Documentation/ABI/testing/configfs-usb-gadget-uvc b/Documentation/ABI/testing/configfs-usb-gadget-uvc
index 9281e2aa38df..9896c8aa0e14 100644
--- a/Documentation/ABI/testing/configfs-usb-gadget-uvc
+++ b/Documentation/ABI/testing/configfs-usb-gadget-uvc
@@ -160,6 +160,10 @@  Description:	Specific MJPEG format descriptors
 
 		All attributes read only,
 		except bmaControls and bDefaultFrameIndex:
+		bFormatIndex		- unique id for this format descriptor;
+					only defined after parent header is
+					linked into the streaming class;
+					read-only
 		bmaControls		- this format's data for bmaControls in
 					the streaming header
 		bmInterfaceFlags	- specifies interlace information,
@@ -204,6 +208,10 @@  Date:		Dec 2014
 KernelVersion:	4.0
 Description:	Specific uncompressed format descriptors
 
+		bFormatIndex		- unique id for this format descriptor;
+					only defined after parent header is
+					linked into the streaming class;
+					read-only
 		bmaControls		- this format's data for bmaControls in
 					the streaming header
 		bmInterfaceFlags	- specifies interlace information,