ASoC: msm: qdsp6v2: Avoid populating memory handle in error case
Memory map handle is populated even in error case of afe memory
map and when this handle is sent to adsp, querying corresponding
virtual address results in failure as the region was never created.
Memory map command is retried in remap_cal_data only if handle is
zero.
Due to this, in SVA case out of band parameters related to SWMAD
and duty cycle are not sent to adsp leading to detection issues.
Change-Id: I3f0f0fac86d8a21fb29e7d82079fd43a6695f208
Signed-off-by:
Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
Loading
Please register or sign in to comment