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:
Shreyas Nagasandra Chandrasekhar <snagas@codeaurora.org>
Loading
Please register or sign in to comment