diff options
author | Shengjiu Wang <[email protected]> | 2021-06-22 20:31:24 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-06-23 11:47:43 +0100 |
commit | a7a0a2feb957e446b2bcf732f245ba04fc8b6314 (patch) | |
tree | 862b3b7098b71657e08a035eb43967eb4f654b14 /scripts/gdb/linux/timerlist.py | |
parent | 3b7961a326f8a7e03f54a19f02fedae8d488b80f (diff) |
ASoC: fsl_spdif: Fix unexpected interrupt after suspend
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 <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions