Messages in this thread | | | From | Fabio Estevam <> | Date | Tue, 22 Jun 2021 12:20:19 -0300 | Subject | Re: [PATCH] ASoC: fsl_spdif: Fix unexpected interrupt after suspend |
| |
On Tue, Jun 22, 2021 at 9:50 AM Shengjiu Wang <shengjiu.wang@nxp.com> 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 <shengjiu.wang@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
| |