ARM: OMAP3: PM: remove access to PRM_VOLTCTRL register
[pandora-kernel.git] / sound / core / pcm_lib.c
index 3420bd3..cf0d46e 100644 (file)
@@ -1846,6 +1846,8 @@ static int wait_for_avail(struct snd_pcm_substream *substream,
                case SNDRV_PCM_STATE_DISCONNECTED:
                        err = -EBADFD;
                        goto _endloop;
+               case SNDRV_PCM_STATE_PAUSED:
+                       continue;
                }
                if (!tout) {
                        snd_printd("%s write error (DMA or IRQ trouble?)\n",