lkml.org 
[lkml]   [1999]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: es1371 midi_read patch
Andy Sloane wrote:
>
> When doing a read() call on /dev/midi using the es1371 driver, the driver
> waits for the entire buffer you specify to be filled. Well, this basically
> defeats the purpose of realtime midi input unless you poll it with a
> one-byte buffer.
>
> Attached is a quick fix. I haven't even looked at the 1370 driver, but a
> similar patch might apply there.

The driver already implements the O_NONBLOCK flag, therefore your
patch is useless and changes the behaviour of the driver
in a nonstandard way.

Tom

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.345 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site