Skip to content

Commit 50a1726

Browse files
nxpfrankliShawn Guo
authored andcommitted
dt-binding: cdns,usb3: Fix cdns,on-chip-buff-size type
In cdns3-gadget.c, 'cdns,on-chip-buff-size' was read using device_property_read_u16(). It resulted in 0 if a 32bit value was used in dts. This commit fixes the dt binding doc to declare it as u16. Cc: stable@vger.kernel.org Fixes: 68989fe ("dt-bindings: usb: Convert cdns-usb3.txt to YAML schema") Signed-off-by: Frank Li <Frank.Li@nxp.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent b8b23fb commit 50a1726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/devicetree/bindings/usb/cdns,usb3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ properties:
6464
description:
6565
size of memory intended as internal memory for endpoints
6666
buffers expressed in KB
67-
$ref: /schemas/types.yaml#/definitions/uint32
67+
$ref: /schemas/types.yaml#/definitions/uint16
6868

6969
cdns,phyrst-a-enable:
7070
description: Enable resetting of PHY if Rx fail is detected

0 commit comments

Comments
 (0)