video: driver: fix to allow 16 concurrent video instances

Currently allowing 15 concurrent video instances instead of 16.
Fix this to allow 16 instances.

Change-Id: I515625e47e324cd1c7ba5a83c1363705bca64721
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
This commit is contained in:
Akshata Sahukar
2021-08-19 18:08:16 -07:00
부모 c2a7ce2e7a
커밋 871b8812ef

파일 보기

@@ -3569,7 +3569,7 @@ int msm_vidc_add_session(struct msm_vidc_inst *inst)
list_for_each_entry(i, &core->instances, list)
count++;
if (count < core->capabilities[MAX_SESSION_COUNT].value) {
if (count <= core->capabilities[MAX_SESSION_COUNT].value) {
list_add_tail(&inst->list, &core->instances);
} else {
i_vpr_e(inst, "%s: total sessions %d exceeded max limit %d\n",