Re: [PATCH] ALSA: bebob: remove an unnecessary condition in hwdep_read()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> Reported-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> Signed-off-by: Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx>

Thanks, applied now.


Takashi



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux