From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wilmer van der Gaast Date: Thu, 21 Feb 2002 18:03:40 +0000 Subject: Re: es1371 driver Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-sound@vger.kernel.org Jaroslav Kysela (perex@suse.cz) wrote: > If O_NONBLOCK is clear: > The open() function will block the calling thread until the device > is ready or available before returning. > Hmm.. Damn, looks like a *lot* of applications don't know about this. Also, I checked a couple of other drivers (including GUS, the card I used to have), they all return -EBUSY when the device in use, even when O_NONBLOCK is clear. Why this inconsistency? Greetings, Wilmer van der Gaast. -- +-------- .''`. - -- ---+ + - -- --- ---- ----- ------+ | lintux : :' : lintux.cx | | Unix and CGI @ IOI/NIO(Dutch)at | | at `. `~' debian.org | | www.lintux.cx/ www.algoritme.nl | +--- -- - ` ---------------+ +------ ----- ---- --- -- - +