Commit cf999117 authored by Patrick Lai's avatar Patrick Lai Committed by Bryan Huntsman
Browse files

ASoC: msm: Move ADM management out of QDSP6 CPU driver



Audio hardware path can be started not only for audio playback/capture
but also voice call. ADM COPP is created through Q6ADM driver
when AFE port is started. For voice call use case, creating
ADM COPP in DSP wastes unnecessary memory resource. To create
ADM COPP only for audio playback/capture case, management logic
is moved to pcm routing driver which has information about session
ID of MultiMedia streams and state of audio back-ends. With this
information, pcm routing driver decides to start/stop ADM COPP.

Signed-off-by: default avatarPatrick Lai <plai@codeaurora.org>
parent 0f024235
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment