video: rockchip: mpp: rk3576: Add hack after probe finish

when pm_domains set alway_on, pm_rutime_resume may accuss
before rkvdec2_probe. thus, dec->fix is null, and it will
not trigger rk3576_workaround_run.

Change-Id: Ie6cd865a0075ed775fbe127447b7e679048ef4ce
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
This commit is contained in:
Ding Wei
2024-03-11 14:40:33 +08:00
committed by Tao Huang
parent 15b649b889
commit 9cbe1b88c4

View File

@@ -1916,6 +1916,10 @@ static int rkvdec2_probe_default(struct platform_device *pdev)
dev_info(dev, "probing finish\n");
/* work workaround */
if (dec->fix && mpp->hw_ops->hack_run)
mpp->hw_ops->hack_run(mpp);
return ret;
}