Commit a8a7a278 authored by Yunfei Dong's avatar Yunfei Dong Committed by Mauro Carvalho Chehab

media: mediatek: vcodec: Change decoder v4l2 capability value

Change the value of v4l2 capability parameters: driver and card.
Signed-off-by: default avatarYunfei Dong <yunfei.dong@mediatek.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent cce4de66
......@@ -247,9 +247,9 @@ static int vidioc_vdec_querycap(struct file *file, void *priv,
{
int platform_name = mtk_vcodec_dec_get_chip_name(priv);
strscpy(cap->driver, MTK_VCODEC_DEC_NAME, sizeof(cap->driver));
strscpy(cap->driver, MTK_VCODEC_DRV_NAME, sizeof(cap->driver));
strscpy(cap->card, MTK_VCODEC_DEC_NAME, sizeof(cap->card));
snprintf(cap->bus_info, sizeof(cap->bus_info), "platform:mt%d-dec", platform_name);
strscpy(cap->card, MTK_PLATFORM_STR, sizeof(cap->card));
return 0;
}
......
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