Re: [PATCH v2] watchdog: starfive: fix runtime PM usage counter leak in pm_start

From: Markus Elfring

Date: Sun Aug 23 2026 - 12:46:05 EST



> Fix it by calling pm_runtime_put_noidle() before returning, mirroring
> the same balance the counterpart starfive_wdt_pm_stop() already
> maintains with pm_runtime_put_sync().


Can a bit of duplicate source code be avoided for the exception handling?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/coding-style.rst?h=v7.2#n526

Regards,
Markus