mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
ASoC: SDCA: re-enable IRQ on pm_runtime_force_suspend failure
The SoundWire IRQ was disabled before pm_runtime_force_suspend() but
never re-enabled when the force suspend failed, leaving the codec
unable to receive interrupts.
Fixes: 2d877d0659 ("ASoC: SDCA: Add basic SDCA class driver")
Cc: stable@vger.kernel.org
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Assisted-by: LLM
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Link: https://patch.msgid.link/20261020073856.1177749-4-srinivas.kandagatla@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
86331b76b3
commit
d34a818a33
|
|
@ -265,6 +265,7 @@ int sdca_class_system_suspend(struct sdca_class_drv *drv)
|
|||
ret = pm_runtime_force_suspend(drv->dev);
|
||||
if (ret) {
|
||||
dev_err(drv->dev, "failed to force suspend: %d\n", ret);
|
||||
enable_irq(drv->sdw->irq);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user