mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 23:29:46 +00:00
media: mediatek: vcodec: Add mt8188 encoder's chip name
Getting mt8188's chip name according to encoder compatible name. Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
b9b9db6a2d
commit
b813e39a69
@ -225,6 +225,8 @@ static int mtk_vcodec_enc_get_chip_name(void *priv)
|
||||
return 8192;
|
||||
else if (of_device_is_compatible(dev->of_node, "mediatek,mt8195-vcodec-enc"))
|
||||
return 8195;
|
||||
else if (of_device_is_compatible(dev->of_node, "mediatek,mt8188-vcodec-enc"))
|
||||
return 8188;
|
||||
else
|
||||
return 8173;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user