Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b438f817b16eec5b497fe78cc2b889f3276e6508
Commit:     b438f817b16eec5b497fe78cc2b889f3276e6508
Parent:     43115f58e215f2c88c3cc2514dbf47e4643cab5b
Author:     Trent Piepho <[EMAIL PROTECTED]>
AuthorDate: Wed Sep 19 21:19:57 2007 +0200
Committer:  Jaroslav Kysela <[EMAIL PROTECTED]>
CommitDate: Tue Oct 16 16:50:58 2007 +0200

    [ALSA] ad1848: Fix msleep while atomic
    
    Simplest fix.
    Acked-by: Rene Herman <[EMAIL PROTECTED]>
    
    Signed-off-by: Trent Piepho <[EMAIL PROTECTED]>
    Signed-off-by: Takashi Iwai <[EMAIL PROTECTED]>
    Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]>
---
 sound/isa/ad1848/ad1848_lib.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/sound/isa/ad1848/ad1848_lib.c b/sound/isa/ad1848/ad1848_lib.c
index 330b5ce..18355fd 100644
--- a/sound/isa/ad1848/ad1848_lib.c
+++ b/sound/isa/ad1848/ad1848_lib.c
@@ -236,7 +236,9 @@ static void snd_ad1848_mce_down(struct snd_ad1848 *chip)
         * 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);
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to