summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorYuho Choi <dbgh9129@gmail.com>2026-07-07 14:51:00 -0400
committerManivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>2026-07-30 07:19:51 +0200
commit0d5b9e66591d4e2a4376ac82c8cda889a29ba3ee (patch)
tree261dddcbd3dd34a02ec6cfd49a5d7fc8138d7cc8 /include/linux/workqueue.h
parent5fe63c1bba57492c97cceb34c35e276d3c81e4fe (diff)
bus: mhi: host: Fix controller cleanup on EDL sysfs failure
mhi_register_controller() adds the controller device before creating the optional trigger_edl sysfs file. If sysfs_create_file() fails, the error path only drops the device reference and leaves the device registered. Hence, call device_del() in the error path before put_device(). Fixes: 17553ba8e19d ("bus: mhi: host: Add sysfs entry to force device to enter EDL") Signed-off-by: Yuho Choi <dbgh9129@gmail.com> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions