Hi,

On Thu, 25 Sep 2025 06:08:58 +0300, Dmitry Baryshkov wrote:
>> [   14.055198] q6apm-lpass-dais 
>> 3700000.remoteproc:glink-edge:gpr:service@1:bedais: 
>> q6apm_lpass_dai_prepare() started
>> [   14.067225] q6apm-lpass-dais 
>> 3700000.remoteproc:glink-edge:gpr:service@1:bedais: 
>> q6apm_lpass_dai_prepare() started
>> [   14.089925] q6apm-lpass-dais 
>> 3700000.remoteproc:glink-edge:gpr:service@1:bedais: 
>> q6apm_lpass_dai_prepare() started
>> [   14.105988] hdmi-audio-codec hdmi-audio-codec.0.auto: 
>> hdmi_codec_hw_params() started
>> [   14.106027] q6apm-lpass-dais 
>> 3700000.remoteproc:glink-edge:gpr:service@1:bedais: 
>> q6apm_lpass_dai_prepare() started
>> [   14.122707] hdmi-audio-codec hdmi-audio-codec.0.auto: 
>> hdmi_codec_prepare() started
>
>From this log I don't see, why the function would fail in the way you've
>described. Could you please post (for comparison) a trace log without
>your patch?

Here is the trace log without mu patch:

[   14.093437] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: q6apm_lpass_dai_prepare() 
started
[   14.105285] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: q6apm_lpass_dai_prepare() 
started
[   14.127546] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: q6apm_lpass_dai_prepare() 
started
[   14.144819] hdmi-audio-codec hdmi-audio-codec.0.auto: hdmi_codec_hw_params() 
started
[   14.144855] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: q6apm_lpass_dai_prepare() 
started
[   14.652233] qcom-apm gprsvc:service:2:1: Error (1) Processing 0x01001002 cmd
[   14.659556] qcom-apm gprsvc:service:2:1: DSP returned error[1001002] 1
[   14.666326] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: Failed to start APM port 104
[   14.677484] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: ASoC error (-22): at 
snd_soc_dai_prepare() on DISPLAY_PORT_RX_0
[   14.690897]  MultiMedia2 Playback: ASoC error (-22): at 
dpcm_run_update_startup() on MultiMedia2 Playback
[   14.699779] msm_dpu ae01000.display-controller: [drm:adreno_request_fw] 
loaded qcom/a660_gmu.bin from new location
[   14.702160] [drm] Loaded GMU firmware v3.1.10
[   14.714573] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: q6apm_lpass_dai_prepare() 
started
[   14.721910] hdmi-audio-codec hdmi-audio-codec.0.auto: hdmi_codec_hw_params() 
started
[   14.721923] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: q6apm_lpass_dai_prepare() 
started
[   15.231216] qcom-apm gprsvc:service:2:1: Error (1) Processing 0x01001002 cmd
[   15.238577] qcom-apm gprsvc:service:2:1: DSP returned error[1001002] 1
[   15.245323] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: Failed to start APM port 104
[   15.256528] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: ASoC error (-22): at 
snd_soc_dai_prepare() on DISPLAY_PORT_RX_0
[   15.269943]  MultiMedia2 Playback: ASoC error (-22): at 
dpcm_run_update_startup() on MultiMedia2 Playback
[   15.279988] hdmi-audio-codec hdmi-audio-codec.0.auto: hdmi_codec_hw_params() 
started
[   15.279997] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: q6apm_lpass_dai_prepare() 
started
[   15.785610] qcom-apm gprsvc:service:2:1: Error (1) Processing 0x01001002 cmd
[   15.792908] qcom-apm gprsvc:service:2:1: DSP returned error[1001002] 1
[   15.799687] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: Failed to start APM port 104
[   15.811261] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: ASoC error (-22): at 
snd_soc_dai_prepare() on DISPLAY_PORT_RX_0
[   15.825865]  MultiMedia2 Playback: ASoC error (-22): at 
dpcm_run_update_startup() on MultiMedia2 Playback
[   15.843283] hdmi-audio-codec hdmi-audio-codec.0.auto: hdmi_codec_hw_params() 
started
[   15.843300] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: q6apm_lpass_dai_prepare() 
started
[   15.991449] rfkill: input handler disabled
[   16.349109] qcom-apm gprsvc:service:2:1: Error (1) Processing 0x01001002 cmd
[   16.356529] qcom-apm gprsvc:service:2:1: DSP returned error[1001002] 1
[   16.363279] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: Failed to start APM port 104
[   16.374539] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: ASoC error (-22): at 
snd_soc_dai_prepare() on DISPLAY_PORT_RX_0
[   16.388835]  MultiMedia2 Playback: ASoC error (-22): at 
dpcm_run_update_startup() on MultiMedia2 Playback
[   16.399355] hdmi-audio-codec hdmi-audio-codec.0.auto: hdmi_codec_hw_params() 
started
[   16.399371] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: q6apm_lpass_dai_prepare() 
started
[   16.905665] qcom-apm gprsvc:service:2:1: Error (1) Processing 0x01001002 cmd
[   16.913032] qcom-apm gprsvc:service:2:1: DSP returned error[1001002] 1
[   16.919837] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: Failed to start APM port 104
[   16.931141] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: ASoC error (-22): at 
snd_soc_dai_prepare() on DISPLAY_PORT_RX_0
[   16.946106]  MultiMedia2 Playback: ASoC error (-22): at 
dpcm_run_update_startup() on MultiMedia2 Playback
[   16.958230] hdmi-audio-codec hdmi-audio-codec.0.auto: hdmi_codec_hw_params() 
started
[   16.958242] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: q6apm_lpass_dai_prepare() 
started
[   17.464922] qcom-apm gprsvc:service:2:1: Error (1) Processing 0x01001002 cmd
[   17.472219] qcom-apm gprsvc:service:2:1: DSP returned error[1001002] 1
[   17.478985] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: Failed to start APM port 104
[   17.490126] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: ASoC error (-22): at 
snd_soc_dai_prepare() on DISPLAY_PORT_RX_0
[   17.503539]  MultiMedia2 Playback: ASoC error (-22): at 
dpcm_run_update_startup() on MultiMedia2 Playback
[   17.513599] hdmi-audio-codec hdmi-audio-codec.0.auto: hdmi_codec_hw_params() 
started
[   17.513606] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: q6apm_lpass_dai_prepare() 
started
[   18.019162] qcom-apm gprsvc:service:2:1: Error (1) Processing 0x01001002 cmd
[   18.026682] qcom-apm gprsvc:service:2:1: DSP returned error[1001002] 1
[   18.033427] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: Failed to start APM port 104
[   18.044729] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: ASoC error (-22): at 
snd_soc_dai_prepare() on DISPLAY_PORT_RX_0
[   18.058144]  MultiMedia2 Playback: ASoC error (-22): at 
dpcm_run_update_startup() on MultiMedia2 Playback
[   18.068168] hdmi-audio-codec hdmi-audio-codec.0.auto: hdmi_codec_hw_params() 
started
[   18.068176] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: q6apm_lpass_dai_prepare() 
started
[   18.574028] qcom-apm gprsvc:service:2:1: Error (1) Processing 0x01001002 cmd
[   18.581321] qcom-apm gprsvc:service:2:1: DSP returned error[1001002] 1
[   18.588086] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: Failed to start APM port 104
[   18.599667] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: ASoC error (-22): at 
snd_soc_dai_prepare() on DISPLAY_PORT_RX_0
[   18.613127]  MultiMedia2 Playback: ASoC error (-22): at 
dpcm_run_update_startup() on MultiMedia2 Playback
[   18.646419] hdmi-audio-codec hdmi-audio-codec.0.auto: hdmi_codec_hw_params() 
started
[   18.646443] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: q6apm_lpass_dai_prepare() 
started
[   19.152583] qcom-apm gprsvc:service:2:1: Error (1) Processing 0x01001002 cmd
[   19.160139] qcom-apm gprsvc:service:2:1: DSP returned error[1001002] 1
[   19.166909] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: Failed to start APM port 104
[   19.178407] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: ASoC error (-22): at 
snd_soc_dai_prepare() on DISPLAY_PORT_RX_0
[   19.191821]  MultiMedia2 Playback: ASoC error (-22): at 
dpcm_run_update_startup() on MultiMedia2 Playback
[   19.222661] hdmi-audio-codec hdmi-audio-codec.0.auto: hdmi_codec_hw_params() 
started
[   19.222678] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: q6apm_lpass_dai_prepare() 
started
[   19.730557] qcom-apm gprsvc:service:2:1: Error (1) Processing 0x01001002 cmd
[   19.738156] qcom-apm gprsvc:service:2:1: DSP returned error[1001002] 1
[   19.744933] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: Failed to start APM port 104
[   19.756633] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: ASoC error (-22): at 
snd_soc_dai_prepare() on DISPLAY_PORT_RX_0
[   19.770042]  MultiMedia2 Playback: ASoC error (-22): at 
dpcm_run_update_startup() on MultiMedia2 Playback
[   19.789888] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: q6apm_lpass_dai_prepare() 
started
[   19.799242] hdmi-audio-codec hdmi-audio-codec.0.auto: hdmi_codec_hw_params() 
started
[   19.799252] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: q6apm_lpass_dai_prepare() 
started
[   20.308857] qcom-apm gprsvc:service:2:1: Error (1) Processing 0x01001002 cmd
[   20.316540] qcom-apm gprsvc:service:2:1: DSP returned error[1001002] 1
[   20.323280] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: Failed to start APM port 104
[   20.334923] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: ASoC error (-22): at 
snd_soc_dai_prepare() on DISPLAY_PORT_RX_0
[   20.348392]  MultiMedia2 Playback: ASoC error (-22): at 
dpcm_run_update_startup() on MultiMedia2 Playback
[   20.358449] hdmi-audio-codec hdmi-audio-codec.0.auto: hdmi_codec_hw_params() 
started
[   20.358456] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: q6apm_lpass_dai_prepare() 
started
[   20.865298] qcom-apm gprsvc:service:2:1: Error (1) Processing 0x01001002 cmd
[   20.873431] qcom-apm gprsvc:service:2:1: DSP returned error[1001002] 1
[   20.880197] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: Failed to start APM port 104
[   20.891777] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: ASoC error (-22): at 
snd_soc_dai_prepare() on DISPLAY_PORT_RX_0
[   20.905293]  MultiMedia2 Playback: ASoC error (-22): at 
dpcm_run_update_startup() on MultiMedia2 Playback
[   20.924421] hdmi-audio-codec hdmi-audio-codec.0.auto: hdmi_codec_hw_params() 
started
[   20.924455] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: q6apm_lpass_dai_prepare() 
started
[   21.431143] qcom-apm gprsvc:service:2:1: Error (1) Processing 0x01001002 cmd
[   21.439239] qcom-apm gprsvc:service:2:1: DSP returned error[1001002] 1
[   21.445985] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: Failed to start APM port 104
[   21.457877] q6apm-lpass-dais 
3700000.remoteproc:glink-edge:gpr:service@1:bedais: ASoC error (-22): at 
snd_soc_dai_prepare() on DISPLAY_PORT_RX_0
[   21.471375]  MultiMedia2 Playback: ASoC error (-22): at 
dpcm_run_update_startup() on MultiMedia2 Playback

Best regards,
Jianfeng

Reply via email to