]> git.itanic.dy.fi Git - linux-stable/commit
dt-binding: cdns,usb3: Fix cdns,on-chip-buff-size type
authorFrank Li <Frank.Li@nxp.com>
Mon, 15 May 2023 16:20:52 +0000 (12:20 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 May 2023 12:55:30 +0000 (13:55 +0100)
commit683bb30c69472edb84bb0d902f9d8c2d5aa68fe0
treefae73c18bf3dfc4225a9cdffb0b0e0efee07c8b2
parent647af8a998c2a345cc2ead7dc564da9dc25efc75
dt-binding: cdns,usb3: Fix cdns,on-chip-buff-size type

commit 50a1726b148ff30778cb8a6cf3736130b07c93fd 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: 68989fe1c39d ("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>
Documentation/devicetree/bindings/usb/cdns,usb3.yaml