]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/drivers/dummy.c
ALSA: misc typo fixes
[linux-2.6-omap-h63xx.git] / sound / drivers / dummy.c
index e5e749f3e0ef08df9fea76571c6a552a2724e388..73be7e14a603d56208aec9d9bd741b48c5444750 100644 (file)
@@ -51,7 +51,7 @@ static int emu10k1_playback_constraints(struct snd_pcm_runtime *runtime)
        if (err < 0)
                return err;
        err = snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_BUFFER_BYTES, 256, UINT_MAX);
-       if (err) < 0)
+       if (err < 0)
                return err;
        return 0;
 }