Re: [PATCH] mtd: rawnand: Fix runtime PM imbalance on error
From: Miquel Raynal
Date: Sun May 24 2020 - 15:09:07 EST
Miquel Raynal <miquel.raynal@xxxxxxxxxxx> wrote on Sun, 24 May 2020
> On Fri, 2020-05-22 at 10:40:06 UTC, Dinghao Liu wrote:
> > pm_runtime_get_sync() increments the runtime PM usage counter even
> > when it returns an error code. Thus a pairing decrement is needed on
> > the error handling path to keep the counter balanced.
> > Signed-off-by: Dinghao Liu <dinghao.liu@xxxxxxxxxx>
> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
FYI I changed the title to integrate the driver's name.