| Submitter | Greg Kroah-Hartman |
|---|---|
| Date | 2009-11-06 22:15:14 |
| Message ID | <20091106221549.324518938@mini.kroah.org> |
| Download | mbox | patch |
| Permalink | /patch/58169/ |
| State | New |
| Headers | show |
Comments
Patch
--- a/sound/pci/ice1712/ice1724.c +++ b/sound/pci/ice1712/ice1724.c @@ -643,7 +643,7 @@ static int snd_vt1724_set_pro_rate(struc (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);