Re: [PATCH] gpio: omap: do not unprepare the debounce clock twice on probe failure

From: Bartosz Golaszewski

Date: Tue Nov 24 2026 - 07:47:12 EST



On Tue, 24 Nov 2026 15:52:31 +0700, Cong Nguyen wrote:
> The debounce clock is now obtained with devm_clk_get_prepared(), so
> devres unprepares it when probe fails or the device is unbound. The error
> path added for a failing pm_runtime_resume_and_get() still calls
> clk_unprepare() on the same clock by hand.
>
> When pm_runtime_resume_and_get() fails and a debounce clock is present,
> the clock is unprepared twice. The second clk_unprepare() warns that the
> clock is already unprepared.
>
> [...]

Applied, thanks!

[1/1] gpio: omap: do not unprepare the debounce clock twice on probe failure
https://git.kernel.org/brgl/c/b43f14590a30eeefd64e1db85f08f9ecea1821d8

Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>