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:
@@ -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",
|
||||
|
Reference in New Issue
Block a user