ALSA: pcsp - Use HRTIMER_CB_IRQSAFE_UNLOCKED
authorTakashi Iwai <tiwai@suse.de>
Fri, 14 Nov 2008 12:58:43 +0000 (13:58 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 14 Nov 2008 12:58:43 +0000 (13:58 +0100)
HRTIMER_CB_IRQSAFE was removed in the upstream.
Try to use HRTIMER_CB_IRQSAFE_UNLOCKED instead.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/pcsp/pcsp.c

index 87219bf0a35e8918a66c15550f2a4d020fd39af1..2a02f704f366b31c58947e3d409cf5fd5212d06c 100644 (file)
@@ -96,7 +96,7 @@ static int __devinit snd_card_pcsp_probe(int devnum, struct device *dev)
                return -EINVAL;
 
        hrtimer_init(&pcsp_chip.timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
-       pcsp_chip.timer.cb_mode = HRTIMER_CB_IRQSAFE;
+       pcsp_chip.timer.cb_mode = HRTIMER_CB_IRQSAFE_UNLOCKED;
        pcsp_chip.timer.function = pcsp_do_timer;
 
        card = snd_card_new(index, id, THIS_MODULE, 0);