Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm: xlnx: zynqmp_dpsub: Fix kernel doc

Fix two kernel doc warnings introduced by the recent DP audio patch:

- Add a doc line for the new "audio" field
- Remove a reference to zynqmp_dpsub.c from zynqmp.rst, as the .c file
no longer has structured comments

Fixes: 3ec5c1579305 ("drm: xlnx: zynqmp_dpsub: Add DP audio support")
Closes: https://lore.kernel.org/all/20241220154208.720d990b@canb.auug.org.au/
Reviewed-by: Vishal Sagar <vishal.sagar@amd.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241220-xilinx-dp-audio-doc-fix-v1-1-cc488996e463@ideasonboard.com
(cherry picked from commit 96b5d2e807f667320c66f41ddc1c473023a73ab2)
Signed-off-by: Maxime Ripard <mripard@kernel.org>

authored by

Tomi Valkeinen and committed by
Maxime Ripard
1ee1bb64 f1359f46

+1 -2
-2
Documentation/gpu/zynqmp.rst
··· 144 144 145 145 .. kernel-doc:: drivers/gpu/drm/xlnx/zynqmp_dp.c 146 146 147 - .. kernel-doc:: drivers/gpu/drm/xlnx/zynqmp_dpsub.c 148 - 149 147 .. kernel-doc:: drivers/gpu/drm/xlnx/zynqmp_kms.c
+1
drivers/gpu/drm/xlnx/zynqmp_dpsub.h
··· 60 60 * @layers: Video and graphics layers 61 61 * @dp: The DisplayPort controller 62 62 * @dma_align: DMA alignment constraint (must be a power of 2) 63 + * @audio: DP audio data 63 64 */ 64 65 struct zynqmp_dpsub { 65 66 struct device *dev;