Commit Graph

7 Commits

Author SHA1 Message Date
Sarath Varma Ganapathiraju
e5a753acaf dsp: spf-core: update add child devices timeout to 10000 ms
update add child devices timeout to 10000 ms

Change-Id: Ieee7333561df87112ff9f37102ab1a6237d55d6f
Signed-off-by: Sarath Varma Ganapathiraju <quic_ganavarm@quicinc.com>
2023-12-06 23:09:17 -08:00
Ganapathiraju Sarath Varma
378a3eea83 dsp : Update timeout for spf_apm_ready_check
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>
2023-10-16 14:46:06 +05:30
Prasad Kumpatla
a976c491a1 dsp: increase the spf close all command timeout
While graph_open is processing by the SPF, apps receives
userspace(agm/pal) crash which will triggers spf_close_all
cmd from msm common drivers and immediately calls
msm_audio_ion_crash_handler() which will un-maps the memory. But
here SPF is still in processing the graph_open, recieved spf_close_all
cmd is queued in SPF. Due to un-mapping is done immediately in HLOS
will resulting in SMMU fault.

To avoid such scenarios, increased the spf_close_all cmd timeout,
because the AGM timeout for the graph_open is 4sec, so increase the timeout
for spf_close_all cmd response until graph open completes or timed out.

Change-Id: I67430cad5a55bd250ea110587c0ead2d97115efc
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2022-12-19 03:34:38 -08:00
Shazmaan Ali
a20e11e0c3 asoc: codecs: Replace dev_err/info with ratelimit prints
replace all dev(pr)_err/info logs
that could potentially flood kernel logs with
ratelimit functions dev_err_ratelimited and
dev_info_ratelimited

Change-Id: I32dc6002dead1a07622978c4de63d541c01982fd
Signed-off-by: Shazmaan Ali <quic_shazmaan@quicinc.com>
2022-04-13 12:43:20 -07:00
Laxminath Kasam
08fffc5bef dsp: Set is_initial_boot before calling child node
Execute gpr driver probe before exiting spf core probe

Change-Id: I983b5e093e9c7d0204e56bdec3d3a590343fb5d3
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2021-01-12 10:49:01 +05:30
Ritu Sharma
e8a3c1e7ed dsp: Reduce apm_ready retry sleep to 50ms
Reduce apm_ready retry sleep to 50ms, so that it will try again to
get the amp state after 50ms instead of 300ms.

Change-Id: Iea92dc3628afdb2b6735951793d160c3d6d48ce6
Signed-off-by: Ritu Sharma <ritushar@codeaurora.org>
2020-09-06 07:43:18 -07:00
Phani Kumar Uppalapati
bc326d21fd audio-kernel: upgrade to ar/spf changes
Rename casa to ar and gecko to spf in audio-kernel.

Change-Id: Ia37ee0497ce043443ca70131d2739737cb8f0366
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2020-06-25 00:39:53 -07:00