summaryrefslogtreecommitdiff
path: root/include/linux/workqueue_api.h
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-05-21 11:36:24 +0300
committerLee Jones <lee@kernel.org>2026-06-17 13:32:56 +0300
commit3001ed2b4e06da2276c42ace6551617065a5b1f9 (patch)
tree20c93f45a55cff0c004833c1c01107be69754ba8 /include/linux/workqueue_api.h
parent28ad23ef7f58abc8715e6f6c4255921da98e6acc (diff)
downloadlinux-3001ed2b4e06da2276c42ace6551617065a5b1f9.tar.xz
mfd: tps6586x: Fix OF node refcount
Platform devices created with platform_device_alloc() call platform_device_release() when the last reference to the device's kobject is dropped. This function calls of_node_put() unconditionally. This works fine for devices created with platform_device_register_full() but users of the split approach (platform_device_alloc() + platform_device_add()) must bump the reference of the of_node they assign manually. Add the missing call to of_node_get(). Cc: stable@vger.kernel.org Fixes: 62f6b0879304 ("tps6586x: Add device tree support") Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Link: https://patch.msgid.link/20260521-pdev-fwnode-ref-v1-1-88c324a1b8d2@oss.qualcomm.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions