Skip to content
Commit 5c2d0de5 authored by Vasily Khoruzhick's avatar Vasily Khoruzhick Committed by Takashi Iwai
Browse files

ALSA: line6: hwdep: add support for O_NONBLOCK opening mode



Currently line6 hwdep interface ignores O_NONBLOCK flag when
opening device and it renders it somewhat useless when using poll.

Check for O_NONBLOCK flag when opening device and don't block read()
if it is set.

Signed-off-by: default avatarVasily Khoruzhick <anarsoul@gmail.com>
Link: https://lore.kernel.org/r/20200502193120.79115-2-anarsoul@gmail.com


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 7f0d5053
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment