Files
linux-stable-mirror/drivers/hid
Vicki Pfau 3e38cbbfa0 HID: hid-steam: Move hidraw input (un)registering to work
[ Upstream commit 79504249d7 ]

Due to an interplay between locking in the input and hid transport subsystems,
attempting to register or deregister the relevant input devices during the
hidraw open/close events can lead to a lock ordering issue. Though this
shouldn't cause a deadlock, this commit moves the input device manipulation to
deferred work to sidestep the issue.

Fixes: 385a488677 ("HID: steam: remove input device when a hid client is running.")
Signed-off-by: Vicki Pfau <vi@endrift.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-02-21 14:01:42 +01:00
..
2024-08-29 10:39:37 +02:00
2024-09-27 08:18:43 -07:00