EAR PA short switch is not released after
PA is turned on and off.
Address this hardware issue by updating the
EAR PA CnP FSM while EAR power down sequence.
Change-Id: If4269c30c13572db1b252f223368d444b9250901
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
- Fix msm_int_audrx_init API called repeatedly
during the sound card registration stage.
Change-Id: I71828fe6b026432a77b46b383d8c9e97371fb814
Signed-off-by: Zun Qiao <quic_zqiao@quicinc.com>
When interrupts are triggered on the second or third interrupt
status register, current logic cannot clear that interrupt status
after handling it. Enable use_single_read for wsa and wcd regmap
to resolve the issue.
Change-Id: I31b301e70fc51c86302f80baeec82c865e9a25cd
Signed-off-by: Meng Wang <quic_mengw@quicinc.com>
- Removes CONFIG variables for DTS Eagle and
Dolby that are no longer used.
Change-Id: I401d10d16040413bf0d170aafb15f547de1ba3ad
Signed-off-by: Susan Wang <yingshuw@codeaurora.org>
Both APSS and ADSP are accessing CPU-0 FIFO when CPS is enabled
during speaker playback. This causes underflow issue when accessing
wsa register from APSS. Move APSS to CPU-1 FIFO to resolve underflow
issue.
Change-Id: I5ed9143bc78757468fbe4bcc686196149ca521f2
Signed-off-by: Meng Wang <mengw@codeaurora.org>
When the CPU is very busy, the APR message may timeout
due to other high-priority threads blocking. Increase
the priority of apr_vm_cb_thread from 1 to 3 to unblock.
Change-Id: I11be527b270e55dccafa67ed4c7b8b25799b8542
Signed-off-by: Hongtao Peng <hongtaop@codeaurora.org>
- Enables get/put for TERT_TDM_TX_0 ADM channels
- Allows for 3 and 4 ADM channels for TERT_TDM
- Motivated by concurrency of GAS and HFP
Change-Id: Iea44929014e0f97ca238ccffa11f228a19d5a6eb
Signed-off-by: E V Ravi <evenka@codeaurora.org>
q6afe: sanitize variables, fill proper error codes/messages
q6voice: modify func return value type
Initialized mutex while probing was not destroyed
while removing the module
Change-Id: I951e957bd8f15fa300e867472fb38755a7a80dec
Signed-off-by: Jing Wang <jingwa@codeaurora.org>
Fix potential deadlock by creating another goto-label
Fix potential memory-leak
(free space for each error after space was allocated)
Change order of destroy for mutexes in init-fucnction
(last created mutex should be destroyed first)
Change-Id: I9ad8849a166af247eed6e7667da73d537ca7d2a2
Signed-off-by: Jing Wang <jingwa@codeaurora.org>
Interrupts from wsa883x are not handled because slave_irq is not set.
Add slave_irq for wsa883x to address this issue.
Change-Id: I1d9cb39bfe99b2b27a98cfe4876a233567c636cd
Signed-off-by: Meng Wang <mengw@codeaurora.org>
regmap_irq_chip->irq_drv_data is shared by all attached wsa
devices and pointed to last probbed wsa device. This will cause
interrupt handle issue. Update irq_drv_data per wsa deviece to
resolve this issue.
Change-Id: Ib22629340d895c3c56d4987949c253589165b579
Signed-off-by: Meng Wang <quic_mengw@quicinc.com>
Sometimes lineout is reported twice, first during initial
detection and then during loop due to output mic voltage
not being measured correctly. Prevent cable from being
reported as headphone during second time if it was reported
as lineout in initial detection.
Change-Id: If828917cb2acbb0ed5b2de9bf1431d0fbb4a9d10
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
CPS Threshold values to be written to the slave device were not properly packed.
Code change to correct the payload as per the specification.
Change-Id: Ie5bbfca0875d16467160f96d20219c4946f81a72
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
ATE stores the calibration result in EFUSE register. This has to
be copied to sleep bandgap voltage for accurate calibration.
Change-Id: I118c5c3b42ba4cfd42185d8da6d468f44e31b88f
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Add change to micbias reg for new tanggu fab id.
Change-Id: I9bfa54c6ee3b87db56e72c1fefb4d4f0db461f14
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
This reverts commit 8553f349c0. With check
to enable/disable PDM WD, watchdog irq was never enabled. Thus remove the
check.
Change-Id: I6845b9aef5fe6c06afe2a2928b4071dd6c71ca00
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Add proper routing for vi ch and cdc dma format widgets
when speaker protection is enabled.
Change-Id: I7d6643dc8737bf6de3c14843ab6994ac8ccaf831
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
sound card open failed for capture with 128 16-bit samples at 24 kHz
because min period size of cupture is set to 320.
Change-Id: Ida818ef133e6ac6e282c798559a753618b1d1e28
Signed-off-by: Deru Wang <deruwang@codeaurora.org>
Add extra goto label in order to free memory in case program
failed to acquire memory through callback_node. With the
original code, there might be a situation where the memory
acquired by client_info_node will not be freed, thus causing
possible memory leak.
Change-Id: If5c8a4bdfbed4ada57a7563e9e212dc9aa7caab0
Signed-off-by: Jinjuan Qiu <jinjqiu@codeaurora.org>
We need to make autogvm-gki-llvm-64 compile well for scan.
Change in gvmauto.conf is to fix compile issue by skipping some files.
Change in sa6155conf in to fix compile issue after move to techpack.
Change-Id: I9d30b0e3160dcf87d8d455e7e2a812f03537bcab
Signed-off-by: Hexuan Zhu <hexuzhu@codeaurora.org>