mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-29 14:05:19 +08:00
dt-binding: cdns,usb3: Fix cdns,on-chip-buff-size type
commit50a1726b14
upstream. 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:68989fe1c3
("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
647af8a998
commit
683bb30c69
@ -64,7 +64,7 @@ properties:
|
|||||||
description:
|
description:
|
||||||
size of memory intended as internal memory for endpoints
|
size of memory intended as internal memory for endpoints
|
||||||
buffers expressed in KB
|
buffers expressed in KB
|
||||||
$ref: /schemas/types.yaml#/definitions/uint32
|
$ref: /schemas/types.yaml#/definitions/uint16
|
||||||
|
|
||||||
cdns,phyrst-a-enable:
|
cdns,phyrst-a-enable:
|
||||||
description: Enable resetting of PHY if Rx fail is detected
|
description: Enable resetting of PHY if Rx fail is detected
|
||||||
|
Loading…
Reference in New Issue
Block a user