]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm: xlnx: zynqmp_dpsub: Fix few function comments
authorAnatoliy Klymenko <anatoliy.klymenko@amd.com>
Fri, 26 Apr 2024 19:27:56 +0000 (12:27 -0700)
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Sat, 27 Apr 2024 07:25:07 +0000 (10:25 +0300)
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>
Link: https://patchwork.freedesktop.org/patch/msgid/20240426-dp-live-fmt-fix-v3-1-e904b5ae51d7@amd.com
drivers/gpu/drm/xlnx/zynqmp_disp.c

index 89b04926e40253939cc2bb6dd2c0bbb1179ee46b..643e19dc7297e9d8d41ec810afc0d3b55271ded4 100644 (file)
@@ -934,7 +934,7 @@ zynqmp_disp_layer_find_format(struct zynqmp_disp_layer *layer,
  * zynqmp_disp_layer_find_live_format - Find format information for given
  * media bus format
  * @layer: The layer
- * @drm_fmt: Media bus format to search
+ * @media_bus_format: Media bus format to search
  *
  * Search display subsystem format information corresponding to the given media
  * bus format @media_bus_format for the @layer, and return a pointer to the
@@ -1111,7 +1111,7 @@ void zynqmp_disp_layer_set_format(struct zynqmp_disp_layer *layer,
 /**
  * zynqmp_disp_layer_set_live_format - Set the live video layer format
  * @layer: The layer
- * @info: The format info
+ * @media_bus_format: Media bus format to set
  *
  * NOTE: This function should not be used to set format for non-live video
  * layer. Use zynqmp_disp_layer_set_format() instead.