]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
media: mtk-jpeg: Fixes jpeghw multi-core judgement
authorkyrie wu <kyrie.wu@mediatek.com>
Fri, 10 Mar 2023 06:23:49 +0000 (06:23 +0000)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 7 Jul 2023 10:16:52 +0000 (12:16 +0200)
commit0e6669641c202e529ce95cd1efb91d07fd3377ea
treec7d2e0dcf52b7d11ccf350c3f6eeb85a81285b6a
parent3efe8d1528653c757c67e0f474eb8c4701757e2a
media: mtk-jpeg: Fixes jpeghw multi-core judgement

BugLink: https://bugs.launchpad.net/bugs/2025067
[ Upstream commit 75c38caf66a10983acc5a59069bfc9492c43d682 ]

some chips have multi-hw, but others have only one,
modify the condition of multi-hw judgement

Fixes: 934e8bccac95 ("mtk-jpegenc: support jpegenc multi-hardware")
Signed-off-by: kyrie wu <kyrie.wu@mediatek.com>
Signed-off-by: irui wang <irui.wang@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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c
drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.h