Skip to content

Commit ced8c51

Browse files
Anatoliy KlymenkoThomas Zimmermann
authored andcommitted
drm: xlnx: zynqmp_dpsub: Fix few function comments
Fix arguments description for zynqmp_disp_layer_find_live_format() and zynqmp_disp_layer_set_live_format(). Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Anatoliy Klymenko <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]> Fixes: 1b5151b ("drm: xlnx: zynqmp_dpsub: Set input live format") Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 87f36e0) Signed-off-by: Thomas Zimmermann <[email protected]>
1 parent be3f304 commit ced8c51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/xlnx/zynqmp_disp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ zynqmp_disp_layer_find_format(struct zynqmp_disp_layer *layer,
940940
* zynqmp_disp_layer_find_live_format - Find format information for given
941941
* media bus format
942942
* @layer: The layer
943-
* @drm_fmt: Media bus format to search
943+
* @media_bus_format: Media bus format to search
944944
*
945945
* Search display subsystem format information corresponding to the given media
946946
* bus format @media_bus_format for the @layer, and return a pointer to the
@@ -1117,7 +1117,7 @@ void zynqmp_disp_layer_set_format(struct zynqmp_disp_layer *layer,
11171117
/**
11181118
* zynqmp_disp_layer_set_live_format - Set the live video layer format
11191119
* @layer: The layer
1120-
* @info: The format info
1120+
* @media_bus_format: Media bus format to set
11211121
*
11221122
* NOTE: This function should not be used to set format for non-live video
11231123
* layer. Use zynqmp_disp_layer_set_format() instead.

0 commit comments

Comments
 (0)