video: rockchip: mpp: rkvenc2: fix slice mode poll failed

the return value 0 of the func wait_event_interruptible() means success.

Fixes: eecc48ce7b ("video: rockchip: mpp: disable usr poll timeout")
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I849625aecb6713d0f4f8652f69ae9335d56d8b65
This commit is contained in:
Yandong Lin
2023-09-21 10:01:14 +08:00
committed by Tao Huang
parent 44e562e446
commit f421f8a977

View File

@@ -2122,7 +2122,7 @@ task_done_ret:
if (ret < 0)
return ret;
} while (ret > 0);
} while (!ret);
rkvenc2_task_timeout_process(session, task);