video: driver: reset buffer parameters during destroy
reset internal buffer size, buffers counts at the time of destroy buffers. Change-Id: Ibb83792c093849ac123bb8b0bfd01c5d97f675aa Signed-off-by: Darshana Patil <darshana@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

szülő
c5262f2e99
commit
91d3cc6aaa
@@ -1572,6 +1572,9 @@ int msm_vidc_destroy_internal_buffer(struct msm_vidc_inst *inst,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
buffers->size = 0;
|
||||||
|
buffers->min_count = buffers->extra_count = buffers->actual_count = 0;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user