Re: [PATCH] ad1838/cs4231 -- fix MCE timeout upon initial load

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 17 Sep 2007 19:32:11 -0700 (PDT)
Trent Piepho <xyzzy@xxxxxxxxxxxxx> wrote:

> Simplest fix.
> 
> Signed-off-by: Trent Piepho <xyzzy@xxxxxxxxxxxxx>
> 
> diff -r 50502c13d2cf isa/ad1848/ad1848_lib.c
> --- a/isa/ad1848/ad1848_lib.c	Mon Sep 17 19:08:32 2007 +0200
> +++ b/isa/ad1848/ad1848_lib.c	Mon Sep 17 19:19:52 2007 -0700
> @@ -236,7 +236,9 @@ static void snd_ad1848_mce_down(struct s
>  	 * calibration process to start. Needs upto 5 sample periods on AD1848
>  	 * which at the slowest possible rate of 5.5125 kHz means 907 us.
>  	 */
> +	spin_unlock_irqrestore(&chip->reg_lock, flags);
>  	msleep(1);
> +	spin_lock_irqsave(&chip->reg_lock, flags);
>  
>  	snd_printdd("(2) jiffies = %lu\n", jiffies);
>  

Acked-by: Krzysztof Helt <krzysztof.h1@xxxxx>


_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux