[PATCH v4 1/4] pmdomain: imx8m-blk-ctrl: Remove the power notifier on probe failure

Peng Fan (OSS) peng.fan at oss.nxp.com
Wed Nov 25 03:28:50 PST 2026


On Sun, 22 Nov 2026 21:51:10 +0100 Dario Binacchi <dario.binacchi at amarulasolutions.com> wrote:

> If devm_of_platform_populate() fails, the probe returns leaving the
> power notifier registered on the bus power domain, while the memory
> holding it is released. Remove it.
> 
> Fixes: 9cb6d1b39a8f ("soc: imx: imx8m-blk-ctrl: Scan subnodes and bind drivers to them")
> Reported-by: Sashiko <sashiko-bot at kernel.org>
> Closes: https://lore.kernel.org/r/sashiko-outbox-227073@kernel.org
> Signed-off-by: Dario Binacchi <dario.binacchi at amarulasolutions.com>
> 

Reviewed-by: Peng Fan <peng.fan at nxp.com>



More information about the linux-arm-kernel mailing list