26 Jan
2021
26 Jan
'21
8:31 a.m.
On Mon, 25 Jan 2021 15:02:08 +0100, Takashi Sakamoto wrote:
Drivers in ALSA firewire stack supports eventing to userspace applications via ALSA hwdep interface. All of the drivers supports stream lock events. Some of them supports their unique events according to specification of target device.
ALSA bebob driver supports the stream lock event only. In the case, it's enough to check condition only in loop with process blocking. However, current implementation check it again after breaking the loop.
This commit removes the redundant check.
Reported-by: Dan Carpenter dan.carpenter@oracle.com Reported-by: Christophe JAILLET christophe.jaillet@wanadoo.fr Signed-off-by: Takashi Sakamoto o-takashi@sakamocchi.jp
Thanks, applied now.
Takashi