* Re: [PATCH] ASoC: q6apm-lpass-dai: close graph on prepare errors
[not found] <20240613-q6apm-fixes-v1-1-d88953675ab3@linaro.org>
@ 2024-06-13 12:37 ` Dmitry Baryshkov
2024-06-13 12:42 ` Srinivas Kandagatla
0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Baryshkov @ 2024-06-13 12:37 UTC (permalink / raw)
To: Srinivas Kandagatla
Cc: Banajit Goswami, Liam Girdwood, Mark Brown, Jaroslav Kysela,
Takashi Iwai, Pierre-Louis Bossart, alsa-devel, linux-sound,
linux-kernel, open list:DRM DRIVER FOR MSM ADRENO GPU
On Thu, 13 Jun 2024 at 15:13, Srinivas Kandagatla
<srinivas.kandagatla@linaro.org> wrote:
>
> There is an issue around with error handling and graph management with
> the exising code, none of the error paths close the graph, which result in
> leaving the loaded graph in dsp, however the driver thinks otherwise.
>
> This can have a nasty side effect specially when we try to load the same
> graph to dsp, dsp returns error which leaves the board with no sound and
> requires restart.
>
> Fix this by properly closing the graph when we hit errors between
> open and close.
>
> Fixes: 30ad723b93ad ("ASoC: qdsp6: audioreach: add q6apm lpass dai support")
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> # X13s
> ---
> sound/soc/qcom/qdsp6/q6apm-lpass-dais.c | 32 ++++++++++++++++++++------------
> 1 file changed, 20 insertions(+), 12 deletions(-)
[...]
> ---
> base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
Note: this didn't go to linux-arm-msm, probably because of the use of
an outdated tree for submission. This commit is v6.10-rc1, it probably
should have been Mark's tree instead or linux-next.
> change-id: 20240613-q6apm-fixes-6a9c84852713
>
> Best regards,
> --
> Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ASoC: q6apm-lpass-dai: close graph on prepare errors
2024-06-13 12:37 ` [PATCH] ASoC: q6apm-lpass-dai: close graph on prepare errors Dmitry Baryshkov
@ 2024-06-13 12:42 ` Srinivas Kandagatla
0 siblings, 0 replies; 2+ messages in thread
From: Srinivas Kandagatla @ 2024-06-13 12:42 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Banajit Goswami, Liam Girdwood, Mark Brown, Jaroslav Kysela,
Takashi Iwai, Pierre-Louis Bossart, alsa-devel, linux-sound,
linux-kernel, open list:DRM DRIVER FOR MSM ADRENO GPU
On 13/06/2024 13:37, Dmitry Baryshkov wrote:
> [...]
>
>> ---
>> base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
> Note: this didn't go to linux-arm-msm, probably because of the use of
> an outdated tree for submission. This commit is v6.10-rc1, it probably
True I sent my patches on top if rc1 which is why b4 did not pick up all
Cc's.
--srini
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-13 12:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20240613-q6apm-fixes-v1-1-d88953675ab3@linaro.org>
2024-06-13 12:37 ` [PATCH] ASoC: q6apm-lpass-dai: close graph on prepare errors Dmitry Baryshkov
2024-06-13 12:42 ` Srinivas Kandagatla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox