Files
Oliver Neukum 3681b60224 usb: chaoskey: fix locking for O_NONBLOCK
[ Upstream commit a2fa8a12e6 ]

A failure to take a lock with O_NONBLOCK needs to result
in -EAGAIN. Change it.

Fixes: 66e3e59189 ("usb: Add driver for Altus Metrum ChaosKey device (v2)")
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Link: https://patch.msgid.link/20251030093918.2248104-1-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-12-18 14:03:10 +01:00
..
2021-08-05 12:31:34 +02:00
2024-09-27 08:18:43 -07:00
2024-10-14 08:03:44 +02:00