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

Skip to content
Commit 3f2380f1 authored by Shreyas Nagasandra Chandrasekhar's avatar Shreyas Nagasandra Chandrasekhar Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: msm: qdsp6v2: Fixed incorrect topology ID during SSR



adm_get_topology_for_port_from_copp_id fails to get topology id
for the given copp id during subsystem restart. Reason being
ADM resets the array that is used to maintain copp ids of all
the afe ports. msm_pcm_routing_dereg_phy_stream fails to deinit
dolby post processing due to invalid topology id in this scenario

Fix is to fallback to msm_routing_get_adm_topology if
adm_get_topology_for_port_from_copp_id fails to return valid
topology id. msm_routing_get_adm_topology uses cal_block_data
which is not reset during SSR

Change-Id: I8a8543ecd296abe81da237259465aad1a3c302a0
Signed-off-by: default avatarShreyas Nagasandra Chandrasekhar <snagas@codeaurora.org>
parent 6e1a63ca
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