linux/sound/firewire/motu
Takashi Sakamoto aea3493246 ALSA: firewire-motu: drop EPOLLOUT from poll return values as write is not supported
The ALSA HwDep character device of the firewire-motu driver incorrectly
returns EPOLLOUT in poll(2), even though the driver implements no operation
for write(2). This misleads userspace applications to believe write() is
allowed, potentially resulting in unnecessarily wakeups.

This issue dates back to the driver's initial code added by a commit
71c3797779 ("ALSA: firewire-motu: add hwdep interface"), and persisted
when POLLOUT was updated to EPOLLOUT by a commit a9a08845e9 ('vfs: do
bulk POLL* -> EPOLL* replacement("").').

This commit fixes the bug.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://patch.msgid.link/20250829233749.366222-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2025-08-30 09:32:45 +02:00
..
amdtp-motu-trace.h
amdtp-motu.c ALSA: firewire-lib: obsolete return value from context payload processing layer 2023-01-12 12:14:50 +01:00
Makefile ALSA: firewire: Use *-y instead of *-objs in Makefile 2024-05-08 18:18:03 +02:00
motu-command-dsp-message-parser.c ALSA: firewire-lib: use circular linked list for context payload processing layer 2023-01-09 17:04:44 +01:00
motu-hwdep.c ALSA: firewire-motu: drop EPOLLOUT from poll return values as write is not supported 2025-08-30 09:32:45 +02:00
motu-midi.c ALSA: firewire: Fix -Wformat-truncation warning for MIDI stream names 2023-09-15 13:22:06 +02:00
motu-pcm.c ALSA: firewire: motu: Use safer strscpy() instead of strcpy() 2025-07-11 09:52:57 +02:00
motu-proc.c
motu-protocol-v1.c
motu-protocol-v2.c
motu-protocol-v3.c ALSA: firewire-motu: add support for MOTU 896 mk3 FireWire and Hybrid 2024-01-29 09:04:30 +01:00
motu-register-dsp-message-parser.c ALSA: firewire-lib: use circular linked list for context payload processing layer 2023-01-09 17:04:44 +01:00
motu-stream.c
motu-transaction.c
motu.c ALSA: firewire: motu: Use safer strscpy() instead of strcpy() 2025-07-11 09:52:57 +02:00
motu.h ALSA: firewire-motu: add support for MOTU 896 mk3 FireWire and Hybrid 2024-01-29 09:04:30 +01:00