Commit 20b3bea3 authored by Liu Ying's avatar Liu Ying Committed by sanglipeng
Browse files

drm/bridge: Fix returned array size name for atomic_get_input_bus_fmts kdoc

stable inclusion
from stable-v5.10.176
commit d5e61a859a8aeed4300ce4d067c3440770d9e728
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8CHVQ

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



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

[ Upstream commit 0d3c9333 ]

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: 91ea8330 ("drm/bridge: Fix the bridge kernel doc")
Fixes: f32df58a ("drm/bridge: Add the necessary bits to support bus format negotiation")
Signed-off-by: default avatarLiu Ying <victor.liu@nxp.com>
Reviewed-by: default avatarRobert Foss <rfoss@kernel.org>
Signed-off-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230314055035.3731179-1-victor.liu@nxp.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 86f910f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment