Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 74b882a6 authored by Phani Kumar Uppalapati's avatar Phani Kumar Uppalapati Committed by Stephen Boyd
Browse files

ASoC: msm8974: Avoid multiple ocmem alloc requests during seek



This change adds specific condition for when to request
for ocmem region thus avoiding multiple ocmem alloc requests.
During seek the audio clip TRIGGER_START gets invoked without
TRIGGER_STOP, due to this a new ocmem request will be queued
without deleting the previous one. Add a condition to check
if there is already a pending request with ocmem. Ocmem disable
request will happen when the playback session is closed.

Change-Id: I3ddbebc57c18f4bb5e09fc3a9081f6a260a7a783
Signed-off-by: default avatarPhani Kumar Uppalapati <phanik@codeaurora.org>
parent ab4a5846
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment