ALSA: control: Avoid kernel warnings from tlv ioctl with numid 0
[pandora-kernel.git] / sound / pci / ali5451 / ali5451.c
index ef85ac5..be662c9 100644 (file)
@@ -1435,7 +1435,7 @@ static snd_pcm_uframes_t snd_ali_pointer(struct snd_pcm_substream *substream)
 
        spin_lock(&codec->reg_lock);
        if (!pvoice->running) {
-               spin_unlock_irq(&codec->reg_lock);
+               spin_unlock(&codec->reg_lock);
                return 0;
        }
        outb(pvoice->number, ALI_REG(codec, ALI_GC_CIR));