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: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> Signed-off-by:
sanglipeng <sanglipeng1@jd.com> (cherry picked from commit eaa7669b)
Loading
Please sign in to comment