[Letux-kernel] [PATCH] Input: ads7846 - fix gpiod allocation

Dmitry Torokhov dmitry.torokhov at gmail.com
Mon Feb 3 13:38:04 CET 2025


On Sat, Feb 01, 2025 at 12:43:24PM +0100, H. Nikolaus Schaller wrote:
> commit 767d83361aaa ("Input: ads7846 - Convert to use software nodes")
> 
> has simplified the code but accidentially converted a devm_gpiod_get()
> to gpiod_get(). This leaves the gpio reserved on module remove and the
> driver can no longer be loaded again.
> 
> Fixes: 767d83361aaa ("Input: ads7846 - Convert to use software nodes")
> Cc: <stable at vger.kernel.org>
> Signed-off-by: H. Nikolaus Schaller <hns at goldelico.com>

Applied, thank you.

-- 
Dmitry


More information about the Letux-kernel mailing list