Re: [PATCH v2] ASoC: es9356: defer IRQ readiness until cache replay

From: Pengpeng Hou

Date: Wed Dec 02 2026 - 22:11:28 EST


Hi Mark,

You're right: v2 doesn't guarantee that the work runs. The interrupt
callback saves SDCA_INT1 and acknowledges the interrupt before testing
disable_irq. If it sees a cascade during cache replay, it can skip
queueing interrupt_handle_work. Clearing disable_irq later doesn't
queue it, and a subsequent callback can overwrite sdca_status.

I wouldn't rely on another hardware interrupt to recover that event.
The attached-device path needs to retain the pending status under the
same lock and hand it to the worker after successful replay. On failed
replay it must not advertise readiness. I'll keep v2 on hold rather
than treat the flag move alone as a fix.

Thanks,
Pengpeng