Commit Graph

5 Commits

Author SHA1 Message Date
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