[PATCH] mtd: rawnand: omap2: fix device leak on probe failure

Miquel Raynal miquel.raynal at bootlin.com
Mon Sep 29 08:55:55 PDT 2025


On Mon, 22 Sep 2025 17:22:04 +0200, Johan Hovold wrote:
> Make sure to drop the reference to the elm device taken by
> of_find_device_by_node() during probe on errors and on driver unload.
> 
> 

Applied to nand/next, thanks!

[1/1] mtd: rawnand: omap2: fix device leak on probe failure
      commit: fa1f26b48fe43195aa0ac4badf5651063590326f

Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).

Kind regards,
Miquèl




More information about the linux-mtd mailing list