]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: greybus: arche-platform: fix coldboot probe error path
authorJohan Hovold <johan@kernel.org>
Fri, 19 Dec 2025 10:59:26 +0000 (11:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Dec 2025 08:43:11 +0000 (09:43 +0100)
commit2d77f822273ae38d44f46b2d325750239fc71641
tree5b31f19d55ab8e2abd8593c6e5377b08b35802fa
parentbd2675ced141a5529bf08a2542a471f1837e4613
staging: greybus: arche-platform: fix coldboot probe error path

Make sure to deregister the PM notifier in case the coldboot sequence
fails during probe.

Fixes: d29b67d44a7c ("greybus: arche-platform: Add support for init-off feature")
Reported-by: Haotian Zhang <vulab@iscas.ac.cn>
Link: https://lore.kernel.org/lkml/20251104090825.224-1-vulab@iscas.ac.cn/
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20251219105928.23329-2-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/arche-platform.c