commit | 12aa6504baf0a676f8a704c495bd2ccb246ef70b | [log] [tgz] |
---|---|---|
author | Zhou Song <zhous@codeaurora.org> | Fri Mar 27 21:10:04 2020 +0800 |
committer | Zhou Song <zhous@codeaurora.org> | Sun Apr 12 15:33:37 2020 +0800 |
tree | 1d7724525e8a1cd9de1ae83ecd580e3b1e4388ab | |
parent | 4aa934f449a6ab077587500a0040dca764467982 [diff] |
st-hal: fix session back to active when disabling capture usecase When va concurrency is not allowed for audio capture, if there are two concurrent active capture usecases and one of them gets disabled, but va concurrency is still not allowed, then va session should keep in paused state. Also, unexpected pause and resume can break the path of remaining audio capture usecase. Remove the check of cached concurrency flag to fix it. Change-Id: I9b64e0c2faab37b0bcc78288de7516cf8996d66f