video: rockchip: mpp: fix error for pop twice

when wait time out twice, it may wait recursion, and then
trigger pop twice.

Change-Id: I6c689f4267e0c03e8cf1e41d68796a6d042afce7
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
This commit is contained in:
Ding Wei
2020-05-22 09:49:47 +08:00
committed by Tao Huang
parent c227825078
commit 6b8ae289fa

View File

@@ -699,7 +699,7 @@ static int mpp_wait_result(struct mpp_session *session,
session, task);
ret = -ETIMEDOUT;
} else {
ret = mpp_wait_result(session, msgs);
return mpp_wait_result(session, msgs);
}
}