mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
msm: vidc: Reset stop_called state when START is called
The driver needs to reset the stop_called field once START called. Otherwise in START, STOP, START, STOP sequences the secondary STOP will be treated as a duplicate STOP and ignored. Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
This commit is contained in:
parent
6b052a80c0
commit
11c58412d7
1 changed files with 2 additions and 0 deletions
|
@ -1596,6 +1596,8 @@ static u32 vid_dec_start_stop(struct video_client_ctx *client_ctx, u32 start)
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
client_ctx->stop_called = false;
|
||||
} else {
|
||||
DBG("%s(): Calling vcd_stop()", __func__);
|
||||
mutex_lock(&vid_dec_device_p->lock);
|
||||
|
|
Loading…
Reference in a new issue