Commit 85486243 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

media: mtk-mdp: fix kernel-doc warnings

mtk_mdp_comp.h: MTK_MDP_COMP_TYPE_MAX was undocumented, but it
is also unused, so just remove it.

mtk_mdp_core.h: add missing '*' inside comment blocks, add a
missing : after '@ctrls' and add a missing struct keyword.
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: Eizan Miyamoto <eizan@chromium.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 6987322c
...@@ -19,7 +19,6 @@ enum mtk_mdp_comp_type { ...@@ -19,7 +19,6 @@ enum mtk_mdp_comp_type {
MTK_MDP_RSZ, MTK_MDP_RSZ,
MTK_MDP_WDMA, MTK_MDP_WDMA,
MTK_MDP_WROT, MTK_MDP_WROT,
MTK_MDP_COMP_TYPE_MAX,
}; };
/** /**
......
...@@ -52,8 +52,8 @@ struct mtk_mdp_pix_align { ...@@ -52,8 +52,8 @@ struct mtk_mdp_pix_align {
* @depth: per plane driver's private 'number of bits per pixel' * @depth: per plane driver's private 'number of bits per pixel'
* @row_depth: per plane driver's private 'number of bits per pixel per row' * @row_depth: per plane driver's private 'number of bits per pixel per row'
* @flags: flags indicating which operation mode format applies to * @flags: flags indicating which operation mode format applies to
MTK_MDP_FMT_FLAG_OUTPUT is used in OUTPUT stream * MTK_MDP_FMT_FLAG_OUTPUT is used in OUTPUT stream
MTK_MDP_FMT_FLAG_CAPTURE is used in CAPTURE stream * MTK_MDP_FMT_FLAG_CAPTURE is used in CAPTURE stream
* @align: pointer to a pixel alignment struct, NULL if using default value * @align: pointer to a pixel alignment struct, NULL if using default value
*/ */
struct mtk_mdp_fmt { struct mtk_mdp_fmt {
...@@ -168,14 +168,14 @@ struct mtk_mdp_dev { ...@@ -168,14 +168,14 @@ struct mtk_mdp_dev {
}; };
/** /**
* mtk_mdp_ctx - the device context data * struct mtk_mdp_ctx - the device context data
* @list: link to ctx_list of mtk_mdp_dev * @list: link to ctx_list of mtk_mdp_dev
* @s_frame: source frame properties * @s_frame: source frame properties
* @d_frame: destination frame properties * @d_frame: destination frame properties
* @id: index of the context that this structure describes * @id: index of the context that this structure describes
* @flags: additional flags for image conversion * @flags: additional flags for image conversion
* @state: flags to keep track of user configuration * @state: flags to keep track of user configuration
Protected by slock * Protected by slock
* @rotation: rotates the image by specified angle * @rotation: rotates the image by specified angle
* @hflip: mirror the picture horizontally * @hflip: mirror the picture horizontally
* @vflip: mirror the picture vertically * @vflip: mirror the picture vertically
...@@ -183,7 +183,7 @@ struct mtk_mdp_dev { ...@@ -183,7 +183,7 @@ struct mtk_mdp_dev {
* @m2m_ctx: memory-to-memory device context * @m2m_ctx: memory-to-memory device context
* @fh: v4l2 file handle * @fh: v4l2 file handle
* @ctrl_handler: v4l2 controls handler * @ctrl_handler: v4l2 controls handler
* @ctrls image processor control set * @ctrls: image processor control set
* @ctrls_rdy: true if the control handler is initialized * @ctrls_rdy: true if the control handler is initialized
* @colorspace: enum v4l2_colorspace; supplemental to pixelformat * @colorspace: enum v4l2_colorspace; supplemental to pixelformat
* @ycbcr_enc: enum v4l2_ycbcr_encoding, Y'CbCr encoding * @ycbcr_enc: enum v4l2_ycbcr_encoding, Y'CbCr encoding
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment