Re: [PATCH v3] ASoC: rt766: add RT766/RT767 SDCA driver
Charles Keepax <[email protected]> Mon, 3 Aug 2026 09:34:03 +0100
| Newsgroups | org.kernel.vger.linux-sound |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Aug 03, 2026 at 06:19:02AM +0000, Shuming [θζΈι] wrote:
> > > + } else {
> > > + sdca_irq_free(dev, info, irq,
> > > + interrupt->name, interrupt);
> >
> > You need to also free the IRQ name allocated by
> > sdca_irq_data_populate() here or it will leak if the jack is re-enabled.
>
> Thanks for review.
> I will call sdca_irq_cleanup() to free the IRQ.
Would need to be cleanup_late to free the name.
Thanks,
Charles