video: driver: update streamoff failure return code.

Currently streamoff failure error code was overriden with zero.
added change to propagate correct error code.

Change-Id: I9ad92f27ae6de109c9959abf0692e6e32cd52d3d
Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
This commit is contained in:
Govindaraj Rajagopal
2021-02-15 19:05:27 +05:30
والد 888c828645
کامیت 0cb0862d1c

مشاهده پرونده

@@ -2195,6 +2195,9 @@ int msm_vidc_session_streamoff(struct msm_vidc_inst *inst,
}
mutex_lock(&inst->lock);
if(rc)
goto error:
/* no more queued buffers after streamoff */
count = msm_vidc_num_buffers(inst, buffer_type, MSM_VIDC_ATTR_QUEUED);
if (!count) {