From: Takashi Iwai Subject: Re: [PATCH] ALSA: hdsp - poll for iobox Date: Mon, 23 Feb 2009 09:58:06 +0100 Message-ID: References: <20090220193035.61928f71@thinkpad> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (ns.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id F2AD41037FA for ; Mon, 23 Feb 2009 09:58:06 +0100 (CET) In-Reply-To: <20090220193035.61928f71@thinkpad> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Tim Blechmann Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Fri, 20 Feb 2009 19:30:35 +0100, Tim Blechmann wrote: > > sleeping for 2 seconds before checking for the iobox is not enough > on some systems. > this patch increases the timeout, but polls the card during that > time. it thus speeds up the module loading when the card has already > been initialized, while being more robust on systems, which require > a higher timeout than the predefined 2 seconds. > > Signed-off-by: Tim Blechmann Applied both patches. I fixed a few coding issues with the first one. Thanks. Takashi