Commit 5b834e80 authored by Frank Li's avatar Frank Li Committed by openeuler-sync-bot
Browse files

dt-binding: cdns,usb3: Fix cdns,on-chip-buff-size type

stable inclusion
from stable-v5.10.181
commit 628d7e4941345611696fff79ebc31444658e3275
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8GJZJ

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=628d7e4941345611696fff79ebc31444658e3275



--------------------------------

commit 50a1726b 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: 68989fe1 ("dt-bindings: usb: Convert cdns-usb3.txt to YAML schema")
Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
(cherry picked from commit eaa7669b)
parent c16daae2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment