Subject: Re: /dev/music weirdness
To: Lennart Augustsson <lennart@mail.augustsson.net>
From: Bill Studenmund <wrstuden@zembu.com>
List: tech-kern
Date: 01/26/2001 18:07:13
On Fri, 26 Jan 2001, Lennart Augustsson wrote:
> Bill Studenmund wrote:
>
> > I think what needs to happen is that we actually need to let the UART
> > _finish_ flushing things before we turn it off. :-)
> >
> > I'd suggest adding a delay loop to eap_midi_close. Off the cuff, something
> > like:
>
> Sounds like a good idea, except DON'T USE DELAY(). Sorry for shouting,
> but there are far too many delay()s in the kernel. Use tsleep() instead.
Ok, but the DELAY() was copied from the existing eap_midi_output code. :-)
Take care,
Bill