OSDN Git Service

ALSA: oxfw: fix return value in error path of isochronous resources reservation
[tomoyo/tomoyo-test1.git] / sound / firewire / oxfw / oxfw-pcm.c
index 9124603..67fd3e8 100644 (file)
@@ -285,7 +285,7 @@ static int pcm_playback_hw_params(struct snd_pcm_substream *substream,
                mutex_unlock(&oxfw->mutex);
        }
 
-       return 0;
+       return err;
 }
 
 static int pcm_capture_hw_free(struct snd_pcm_substream *substream)