Use logical CPU core IDs, for requesting affinity for silver CPU cores.
Change-Id: I8ec81d6c21dc038e6233cc1ffd020a4ba81aadf2
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
soc-util no longer sets hw params for snd-soc-dummy components.
pcm_open() is blocked by snd_pcm_hw_constraints_complete() function.
read hw params from dts and set it during dailink startup.
Change-Id: I0d0c6ae581c5fb72091ec6c2cadb85e93e475deb
Signed-off-by: Jiazai Wu <quic_jiazwu@quicinc.com>
add sa7255 match compatible in auto machine driver.
Change-Id: I3e0908671b43a8d08278b780c97a42963c55180b
Signed-off-by: Jiazai Wu <quic_jiazwu@quicinc.com>
Integrate machine driver for auto target from kernel 5.15.
Propagated from fd35f8a09932174844ce93c065b0f5597324556a.
Change-Id: I5a9026beea2954409e69b02f7955e7c9d09eef12
Signed-off-by: Jiazai Wu <quic_jiazwu@quicinc.com>
Dsp can get online before gpr ssr callback registering.
Dsp state is never changed in this case.
Set dsp state by default GPR_SUBSYS_LOADED at the tail of gpr probe.
Change-Id: I3cc4087e0433f6d827042244f91f3110d234669d
Signed-off-by: Jiazai Wu <quic_jiazwu@quicinc.com>
Handle PDM watchdog interrupt. Enable watchdog
before analog PA is enabled and disable it
after analog PA is disabled so as to prevent false alarms.
Change-Id: Ife131d5d64d2ad2b8f7aad50af3aa07238bbbda9
Signed-off-by: Faiz Nabi Kuchay <quic_fkuchay@quicinc.com>
Add conditional check before calling wcd usb api
Change-Id: I9046ece531ea009e8b8cd5db98675960d928c1c6
Signed-off-by: Sarath Varma Ganapathiraju <quic_ganavarm@quicinc.com>
The modifier - static - request the function to be used within the file.
Remove static modifier to fix the build break.
Change-Id: I46da9dbeb7c3945f8a1bbfa55998e75b5cbdc70b
Signed-off-by: Erin Yan <quic_xinyey@quicinc.com>
Change default OVP threshold to 4.2V, but set
to 4.0V during CODEC reset.
Change-Id: I4aa8accf7466e144902a2f6a250c1aad91084e95
Signed-off-by: Sam Rainey <quic_rainey@quicinc.com>
Load proper dtb image when fuse is not supported.
Change-Id: If87fcc715954b1526fa6718a3453357cbb8957e3
Signed-off-by: Faiz Nabi Kuchay <quic_fkuchay@quicinc.com>
Update change to have proper input validation of pcm_id in
aud_dev_sysfs_store to avoid out of bound issue.
Change-Id: Ia95a8dff8db84d95b4b02a5674f64a85f67e4be0
Signed-off-by: Deepali Jindal <quic_deepjind@quicinc.com>
added condition to check for spkr status before enabling
GLOBAL_PA to make sure PA is enabled only when Speaker
is in Enabled state.
Change-Id: Ifa4eeb7d8561bb68193abae16221dd8b2464029c
Signed-off-by: Ganapathiraju Sarath Varma <quic_ganavarm@quicinc.com>
Fix two times calling of wcd939x_mbhc_hs_detect.
Change-Id: Id3d42a4ede8c8ac226e91506d6c69f9dcb2cd401
Signed-off-by: Faiz Nabi Kuchay <quic_fkuchay@quicinc.com>
Added timing for spf_ready_check api, rightnow
we are waiting for 10sec when apm is not ready
instead updated timing as below
during adsp loading 10sec
during add child devices 5sec
during prm send pkt 0sec
Check for q6 state at the start of gpr_send_pkt.
Change-Id: I94a93842cc0dc7fc9acd7232f413b3c3a9038536
Signed-off-by: Ganapathiraju Sarath Varma <quic_ganavarm@quicinc.com>
Sampling rate of the decimator is reset to hw reset value during
power down event in existing code. This code was implemented for
a safety precaution.
Remove this code as it is causing a side effect for VA use cases.
Side effect of existing code: during successive VA use cases runs,
Sampling rate is not updated as the device is not closed completely.
Due to this, decimator runs with incorrect sampling rate for
successive runs and causes failure.
Change-Id: I5e60c656043d06c3d999de183698adfffdaa44d1
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
update the usbss switches only once the HS removal is completed.
Change-Id: I050b30c2c407f189cefed56ec137848efb45e5b4
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
Add proxy RX and TX dai for proxy record path
Change-Id: I306f970ec7e7c7543e47636947c0ecb0226ed976
Signed-off-by: Anirudh Mahto <quic_amahto@quicinc.com>
Update holi machine driver to support ATTC over FSA driver.
Change-Id: I3ac6af5908c4b69e8e8d65a006505fa0f4ceb009
Signed-off-by: Sairam Peri<quic_peri@quicinc.com>
Update zdet and xtalk to support high voltage microphones
with improved accuracy.
Change-Id: I4b0af5ade7f653de4a938162302ec21c4a09891f
Signed-off-by: Sam Rainey <quic_rainey@quicinc.com>