Re: [PATCH] auxdisplay: panel: free logical inputs on detach
From: Andy Shevchenko
Date: Fri Dec 04 2026 - 06:40:42 EST
On Fri, Dec 04, 2026 at 02:26:10PM +0330, Muhammad Mahdi Amirpour wrote:
> I used ai to find it.
Okay. If Geert thinks this worth doing, I will apply the patch.
Geert?
> On Thu, Dec 3, 2026, 1:32 PM Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
> wrote:
> > On Sat, Nov 28, 2026 at 04:17:41PM +0330, Muhammad Mahdi Amirpour wrote:
> > > Free all allocated logical inputs when the panel device is
> > > detached or attachment fails.
> > >
> > > Stop the scan timer before freeing the input list to prevent
> > > the timer callback from accessing freed entries.
> > >
> > > Reset the scan masks after releasing the inputs.
> >
> > This is quite an old driver and interface it uses. How did you find the
> > issue?
--
With Best Regards,
Andy Shevchenko