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

Skip to content
Commit aba0e95c authored by Laxminath Kasam's avatar Laxminath Kasam
Browse files

hal: spk_prot: fix initial calibration fail with usecase retry

Usecase id of PCM_CALIB_TX is overriden by AUDIO_RECORD
in audio_extn_spkr_prot_start_processing to reset calibration
to handset Mic.
audio_extn_spkr_prot_stop_processing API looks for usecase
PCM_CALIB_TX to delete the node from usecase list,
fails to find as usecase id is overriden and this node
remains in usecase list.
So when the initial calibration is happening, usecase list
empty check condition is failing and returns.
Avoid override usecase id to allow delete of list node
in stop_audio_processing API.

CRs-Fixed: 843262
Change-Id: I12c901efba39dad771d6df9c2332becd8ee9f1d8
parent 942a1f60
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment