Skip to content

Commit ced8c51

Browse files
Anatoliy Klymenkotdz
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 <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202404260616.KFGDpCDN-lkp@intel.com/ Signed-off-by: Anatoliy Klymenko <anatoliy.klymenko@amd.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Fixes: 1b5151b ("drm: xlnx: zynqmp_dpsub: Set input live format") Link: https://patchwork.freedesktop.org/patch/msgid/20240426-dp-live-fmt-fix-v3-1-e904b5ae51d7@amd.com (cherry picked from commit 87f36e0) Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
1 parent be3f304 commit ced8c51

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)