mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
media: mediatek: vcodec: Fix non subdev architecture open power fail
According to subdev_bitmap bit value to open hardware power, need to
set subdev_bitmap value for non subdev architecture.
Fixes: c05bada35f ("media: mtk-vcodec: Add to support multi hardware decode")
Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Tested-by: Chen-Yu Tsai <wenst@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
65c3e8e9c7
commit
083f54a7c9
|
|
@ -388,6 +388,8 @@ static int mtk_vcodec_probe(struct platform_device *pdev)
|
|||
mtk_v4l2_err("Main device of_platform_populate failed.");
|
||||
goto err_reg_cont;
|
||||
}
|
||||
} else {
|
||||
set_bit(MTK_VDEC_CORE, dev->subdev_bitmap);
|
||||
}
|
||||
|
||||
atomic_set(&dev->dec_active_cnt, 0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user