]> git.ipfire.org Git - thirdparty/linux.git/commit
staging: vchiq_arm: Stop kthreads if vchiq cdev register fails
authorStefan Wahren <wahrenst@gmx.net>
Sun, 9 Mar 2025 12:50:12 +0000 (13:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Mar 2025 14:11:20 +0000 (07:11 -0700)
commitcfb320d990919836b49bd090c6c232c6c4d90b41
tree4998d41e0b04aa0effab9a19f06c9d91ef938855
parent3db89bc6d973e2bcaa852f6409c98c228f39a926
staging: vchiq_arm: Stop kthreads if vchiq cdev register fails

In case the vchiq character device cannot be registered during probe,
all kthreads needs to be stopped to avoid resource leaks.

Fixes: 863a756aaf49 ("staging: vc04_services: vchiq_core: Stop kthreads on vchiq module unload")
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Link: https://lore.kernel.org/r/20250309125014.37166-4-wahrenst@gmx.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c