Re: [PATCH v2] watchdog: starfive: fix runtime PM usage counter leak in pm_start
Markus Elfring <[email protected]>
| Newsgroups | org.kernel.vger.linux-watchdog,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
… > 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