]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: Fix returned array size name for atomic_get_input_bus_fmts kdoc
authorLiu Ying <victor.liu@nxp.com>
Tue, 14 Mar 2023 05:50:35 +0000 (13:50 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2023 12:33:47 +0000 (13:33 +0100)
commit99ab56ed2a2d119f2de940fb7337d9150ce2f614
tree602ea36ba31593ae01b46b3065dacbb1b5ab1723
parent4773532ba300a85a49c2baa9677aab9b86164d30
drm/bridge: Fix returned array size name for atomic_get_input_bus_fmts kdoc

[ Upstream commit 448224382c20b1808984fd58f17bb04d8d3d4424 ]

The returned array size for input formats is set through
atomic_get_input_bus_fmts()'s 'num_input_fmts' argument, so use
'num_input_fmts' to represent the array size in the function's kdoc,
not 'num_output_fmts'.

Fixes: 13193e4b4ac6 ("drm/bridge: Fix the bridge kernel doc")
Fixes: 9c842e43118f ("drm/bridge: Add the necessary bits to support bus format negotiation")
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Robert Foss <rfoss@kernel.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230314055035.3731179-1-victor.liu@nxp.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/drm/drm_bridge.h