2021-01-14 07:55:43

by Mauro Carvalho Chehab

[permalink] [raw]
Subject: [PATCH 07/10] dwc3: document gadget_max_speed

This new field was added to struct dwc3_scratchpad_array, but
a documentation for it was missed:

../drivers/usb/dwc3/core.h:1259: warning: Function parameter or member 'gadget_max_speed' not described in 'dwc3'

Signed-off-by: Mauro Carvalho Chehab <[email protected]>
---
drivers/usb/dwc3/core.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index ac290d896638..eec1cf4ba268 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -964,6 +964,7 @@ struct dwc3_scratchpad_array {
* @nr_scratch: number of scratch buffers
* @u1u2: only used on revisions <1.83a for workaround
* @maximum_speed: maximum speed requested (mainly for testing purposes)
+ * @gadget_max_speed: maximum gadget speed requested
* @ip: controller's ID
* @revision: controller's version of an IP
* @version_type: VERSIONTYPE register contents, a sub release of a revision
--
2.29.2


2021-01-14 09:05:19

by Felipe Balbi

[permalink] [raw]
Subject: Re: [PATCH 07/10] dwc3: document gadget_max_speed

Mauro Carvalho Chehab <[email protected]> writes:

> This new field was added to struct dwc3_scratchpad_array, but
> a documentation for it was missed:
>
> ../drivers/usb/dwc3/core.h:1259: warning: Function parameter or member 'gadget_max_speed' not described in 'dwc3'
>
> Signed-off-by: Mauro Carvalho Chehab <[email protected]>

Thanks, Mauro.

Acked-by: Felipe Balbi <[email protected]>

--
balbi


Attachments:
signature.asc (873.00 B)