Re: [PATCH] mtd: rawnand: ingenic: Fix missing put_device in ingenic_ecc_get
From: Miquel Raynal
Date: Sun Jan 23 2022 - 10:31:49 EST
miquel.raynal@xxxxxxxxxxx wrote on Sun, 23 Jan 2022 16:23:32 +0100:
> On Thu, 2021-12-30 at 07:27:51 UTC, Miaoqian Lin wrote:
> > If of_find_device_by_node() succeeds, ingenic_ecc_get() doesn't have
> > a corresponding put_device(). Thus add put_device() to fix the exception
> > handling.
> >
> > Fixes: 15de8c6 ("mtd: rawnand: ingenic: Separate top-level and SoC specific code")
> > Signed-off-by: Miaoqian Lin <linmq006@xxxxxxxxx>
> > Reviewed-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>
>
> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.
Pushed on mtd/fixes, actually.