Merge branch 'topic/ice1724-quartet' into topic/hda
authorTakashi Iwai <tiwai@suse.de>
Tue, 1 Dec 2009 14:57:01 +0000 (15:57 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 1 Dec 2009 14:57:01 +0000 (15:57 +0100)
1  2 
sound/pci/ice1712/ice1712.c
sound/pci/ice1712/ice1724.c

Simple merge
@@@ -648,9 -672,11 +672,11 @@@ static int snd_vt1724_set_pro_rate(stru
            (inb(ICEMT1724(ice, DMA_PAUSE)) & DMA_PAUSES)) {
                /* running? we cannot change the rate now... */
                spin_unlock_irqrestore(&ice->reg_lock, flags);
 -              return -EBUSY;
 +              return ((rate == ice->cur_rate) && !force) ? 0 : -EBUSY;
        }
        if (!force && is_pro_rate_locked(ice)) {
+               /* comparing required and current rate - makes sense for
+                * internal clock only */
                spin_unlock_irqrestore(&ice->reg_lock, flags);
                return (rate == ice->cur_rate) ? 0 : -EBUSY;
        }