ad1848: Fix msleep while atomic Simplest fix. Signed-off-by: Trent Piepho 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);