HID: hid-steam: Make sure rumble work is canceled on removal
[ Upstream commit cc4f9524 ] When a force feedback command is sent from userspace, work is scheduled to pass this data to the controller without blocking userspace itself. However, in theory, this work might not be properly canceled if the controller is removed at the exact right time. This patch ensures the work is properly canceled when the device is removed. Signed-off-by:Vicki Pfau <vi@endrift.com> Signed-off-by:
Jiri Kosina <jkosina@suse.com> Stable-dep-of: 79504249 ("HID: hid-steam: Move hidraw input (un)registering to work") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment