mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user