]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - sound/pci/ice1712/ice1724.c
Merge commit 'v2.6.32-rc5' into perf/probes
[karo-tx-linux.git] / sound / pci / ice1712 / ice1724.c
index 76b717dae4b65c22aa2834795d4ad26b02216fee..10fc92c055749679a4e36922d8b7f784b6f6d528 100644 (file)
@@ -648,7 +648,7 @@ static int snd_vt1724_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate,
            (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)) {
                spin_unlock_irqrestore(&ice->reg_lock, flags);