[PATCH] mailbox: th1520: fix clock imbalance on probe failure
Johan Hovold
johan at kernel.org
Mon Nov 10 01:13:38 PST 2025
On Fri, Oct 17, 2025 at 07:54:14AM +0200, Johan Hovold wrote:
> The purpose of the devm_add_action_or_reset() helper is to call the
> action function in case adding an action ever fails so drop the clock
> disable from the error path to avoid disabling the clocks twice.
>
> Fixes: 5d4d263e1c6b ("mailbox: Introduce support for T-head TH1520 Mailbox driver")
> Cc: Michal Wilczynski <m.wilczynski at samsung.com>
> Signed-off-by: Johan Hovold <johan at kernel.org>
> ---
Can this one be picked up for 6.19?
Johan
More information about the linux-riscv
mailing list