mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
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:
@@ -2122,7 +2122,7 @@ task_done_ret:
|
||||
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
} while (ret > 0);
|
||||
} while (!ret);
|
||||
|
||||
rkvenc2_task_timeout_process(session, task);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user