Re: [PATCH v3] auxdisplay: cfag12864bfb: Fix init cleanup and simplify error paths

From: Andy Shevchenko

Date: Thu Nov 19 2026 - 06:01:53 EST



On Thu, 19 Nov 2026 17:31:13 +0800, Haoxiang Li wrote:
> If initialization fails after cfag12864b_enable() succeeds, LCD
> refreshing remains enabled. A subsequent attempt to load the
> framebuffer module can fail because refreshing is still marked
> as in use.
>
> Use platform_device_register_full() to simplify device registration
> and its error handling. Unregister the platform driver if device
> registration fails, and call cfag12864b_disable() on all failure
> paths after refreshing has been enabled.
>
> [...]

Applied, thanks!

[1/1] auxdisplay: cfag12864bfb: Fix init cleanup and simplify error paths
commit: 1c7a2b44a170a73a556c459ee6238ff1e98e69c3

Best regards,
--
With Best Regards,
Andy Shevchenko