video: rockchip: rga3: Need soft reset after timeout

Signed-off-by: Li Huang <putin.li@rock-chips.com>
Change-Id: I9ab0f20ddc645b7f689971d42d41284e2957333a
This commit is contained in:
Li Huang
2021-12-08 20:34:22 +08:00
committed by Tao Huang
parent e81323a683
commit c82b5d3677

View File

@@ -372,6 +372,7 @@ static inline int rga_job_wait(struct rga_scheduler_t *rga_scheduler,
switch (left_time) {
case 0:
pr_err("%s timeout", __func__);
rga_scheduler->ops->soft_reset(rga_scheduler);
ret = -EBUSY;
break;
case -ERESTARTSYS: