]> git.ipfire.org Git - thirdparty/linux.git/commit
auxdisplay: arm-charlcd: fix release_mem_region() size
authorThomas Fourier <fourier.thomas@gmail.com>
Tue, 16 Dec 2025 17:47:13 +0000 (18:47 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 29 Dec 2025 12:41:08 +0000 (13:41 +0100)
commitb5c23a4d291d2ac1dfdd574a68a3a68c8da3069e
treef451d41b0051dddf6c834f63dc394feba4f75019
parent8f0b4cce4481fb22653697cced8d0d04027cb1e8
auxdisplay: arm-charlcd: fix release_mem_region() size

It seems like, after the request_mem_region(), the corresponding
release_mem_region() must take the same size. This was done
in (now removed due to previous refactoring) charlcd_remove()
but not in the error path in charlcd_probe().

Fixes: ce8962455e90 ("ARM: 6214/2: driver for the character LCD found in ARM refdesigns")
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/auxdisplay/arm-charlcd.c