Thread (3 messages) 3 messages, 3 authors, 2021-06-23

Re: [PATCH] ASoC: fsl_spdif: Fix unexpected interrupt after suspend

flat view

From: Fabio Estevam <festevam@gmail.com>
Date: 2021-06-22 15:20:38
Also in: alsa-devel, lkml

On Tue, Jun 22, 2021 at 9:50 AM Shengjiu Wang [off-list ref] wrote:
When system enter suspend, the machine driver suspend callback
function will be called, then the cpu driver trigger callback
(SNDRV_PCM_TRIGGER_SUSPEND) be called, it would disable the
interrupt.

But the machine driver suspend and cpu dai driver suspend order
maybe changed, the cpu dai driver's suspend callback is called before
machine driver's suppend callback, then the interrupt is not cleared
successfully in trigger callback.

So need to clear interrupts in cpu dai driver's suspend callback
to avoid such issue.

Fixes: 9cb2b3796e08 ("ASoC: fsl_spdif: Add pm runtime function")
Signed-off-by: Shengjiu Wang <redacted>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help