Commit a0ae500c authored by Manish Dewangan's avatar Manish Dewangan
Browse files

msm: qdsp5: Initialize audio stopped flag at open



Audio stopped flag is used to track if current audio recording
session is in stopped state or not. Whenever audio recording
session is stopped or released, this flag gets set to 1.
Currently this flag is not initialized to 0 during audio open or
start. From second audio recording session onwards it is causing
failure in read() as it finds audio stopped to be already set.

Fix this by initializing audio stopped flag to 0 during audio open.

Change-Id: Ibdfbf8a7b1ef9d679b474cece7f053763dbabe87
Signed-off-by: default avatarManish Dewangan <manish@codeaurora.org>
parent 31d011c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment