mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
video: rockchip: mpp: fix rkvenc-core1 cannot disable issue
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com> Change-Id: I4884da641a2beba1bdbc2d734d9e969baf9026ad
This commit is contained in:
@@ -831,7 +831,7 @@ static void *rkvenc2_prepare(struct mpp_dev *mpp, struct mpp_task *mpp_task)
|
||||
core_idle = queue->core_idle;
|
||||
core_id_max = queue->core_id_max;
|
||||
|
||||
for (i = 0; i < core_id_max; i++) {
|
||||
for (i = 0; i <= core_id_max; i++) {
|
||||
struct mpp_dev *mpp = queue->cores[i];
|
||||
|
||||
if (mpp && mpp->disable)
|
||||
|
||||
Reference in New Issue
Block a user