[PATCH] mtd: rawnand: gpmi: don't leak PM reference in error path

Miquel Raynal miquel.raynal at bootlin.com
Wed Jan 26 02:52:08 PST 2022


On Tue, 2022-01-25 at 08:16:19 UTC, Christian Eggers wrote:
> If gpmi_nfc_apply_timings() fails, the PM runtime usage counter must be
> dropped.
> 
> Reported-by: Pavel Machek <pavel at denx.de>
> Fixes: f53d4c109a66 ("mtd: rawnand: gpmi: Add ERR007117 protection for nfc_apply_timings")
> Signed-off-by: Christian Eggers <ceggers at arri.de>
> Cc: stable at vger.kernel.org

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/fixes, thanks.

Miquel



More information about the linux-mtd mailing list