[alsa-devel] [PATCH v4] ALSA: core: Allow drivers to set R/W wait time.

Takashi Iwai tiwai at suse.de
Fri Jul 6 15:37:44 CEST 2018


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 <liam.r.girdwood at linux.intel.com>
> ---
> 
> 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


More information about the Alsa-devel mailing list