From: Takashi Iwai Subject: Re: [PATCH v4] ALSA: core: Allow drivers to set R/W wait time. Date: Fri, 06 Jul 2018 15:37:44 +0200 Message-ID: References: <20180706125036.12940-1-liam.r.girdwood@linux.intel.com> 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 (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id D3A2E2673C7 for ; Fri, 6 Jul 2018 15:37:45 +0200 (CEST) In-Reply-To: <20180706125036.12940-1-liam.r.girdwood@linux.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Liam Girdwood Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Fri, 06 Jul 2018 14:50:36 +0200, Liam Girdwood wrote: > > Currently ALSA core blocks userspace for about 10 seconds for PCM R/W IO. > This needs to be configurable for modern hardware like DSPs where no > pointer update in milliseconds can indicate terminal DSP errors. > > Add a substream variable to set the wait time in ms. This allows userspace > and drivers to recover more quickly from terminal DSP errors. > > Signed-off-by: Liam Girdwood > --- > > Changes since V1 :- > o Remove API method and alow drivers to set directly. > o Validate time is driver supplied times. > > V2 :- > o Max wait calc now in ms. > o checkpatch. > > v3:- > o Remove driver supplied time validation. Applied, thanks. Takashi