Re: [PATCH] auxdisplay: panel: free logical inputs on detach

From: Andy Shevchenko

Date: Thu Dec 03 2026 - 05:02:13 EST


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