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

media: mtk-vpu/mtk_vpu.h: fix kernel-doc warnings

A top-level documentation block was missing 'DOC:'.

Fix typos in vpu_wdt_reg_handler() and vpu_mapping_dm_addr().
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: Irui Wang <irui.wang@mediatek.com>
Cc: Andrew-CT Chen <andrew-ct.chen@mediatek.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent f56ac195
...@@ -10,10 +10,12 @@ ...@@ -10,10 +10,12 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
/** /**
* DOC: VPU
*
* VPU (video processor unit) is a tiny processor controlling video hardware * VPU (video processor unit) is a tiny processor controlling video hardware
* related to video codec, scaling and color format converting. * related to video codec, scaling and color format converting.
* VPU interfaces with other blocks by share memory and interrupt. * VPU interfaces with other blocks by share memory and interrupt.
**/ */
typedef void (*ipi_handler_t) (const void *data, typedef void (*ipi_handler_t) (const void *data,
unsigned int len, unsigned int len,
...@@ -126,18 +128,18 @@ struct platform_device *vpu_get_plat_device(struct platform_device *pdev); ...@@ -126,18 +128,18 @@ struct platform_device *vpu_get_plat_device(struct platform_device *pdev);
* vpu_wdt_reg_handler - register a VPU watchdog handler * vpu_wdt_reg_handler - register a VPU watchdog handler
* *
* @pdev: VPU platform device * @pdev: VPU platform device
* @vpu_wdt_reset_func: the callback reset function * @vpu_wdt_reset_func(): the callback reset function
* @private_data: the private data for reset function * @priv: the private data for reset function
* @rst_id: reset id * @priv: the private data for reset function
* @id: reset id
* *
* Register a handler performing own tasks when vpu reset by watchdog * Register a handler performing own tasks when vpu reset by watchdog
* *
* Return: Return 0 if the handler is added successfully, * Return: Return 0 if the handler is added successfully,
* otherwise it is failed. * otherwise it is failed.
*
**/ **/
int vpu_wdt_reg_handler(struct platform_device *pdev, int vpu_wdt_reg_handler(struct platform_device *pdev,
void vpu_wdt_reset_func(void *), void vpu_wdt_reset_func(void *priv),
void *priv, enum rst_id id); void *priv, enum rst_id id);
/** /**
...@@ -172,7 +174,7 @@ int vpu_load_firmware(struct platform_device *pdev); ...@@ -172,7 +174,7 @@ int vpu_load_firmware(struct platform_device *pdev);
* vpu_mapping_dm_addr - Mapping DTCM/DMEM to kernel virtual address * vpu_mapping_dm_addr - Mapping DTCM/DMEM to kernel virtual address
* *
* @pdev: VPU platform device * @pdev: VPU platform device
* @dmem_addr: VPU's data memory address * @dtcm_dmem_addr: VPU's data memory address
* *
* Mapping the VPU's DTCM (Data Tightly-Coupled Memory) / * Mapping the VPU's DTCM (Data Tightly-Coupled Memory) /
* DMEM (Data Extended Memory) memory address to * DMEM (Data Extended Memory) memory address to
......
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