summaryrefslogtreecommitdiff
path: root/sound/drivers
diff options
context:
space:
mode:
authorMariusz Kozlowski <m.kozlowski@tuxland.pl>2008-10-19 10:34:22 +0200
committerTakashi Iwai <tiwai@suse.de>2008-10-19 10:36:08 +0200
commite78521f3212d5d3931442819cbf0910fe1b28beb (patch)
treef1f237f5e1286b7ae0ebfb759e919e2c0900aa27 /sound/drivers
parenta66547f3a1295d782fc0923d872b309994cea32a (diff)
downloadlinux-3.10-e78521f3212d5d3931442819cbf0910fe1b28beb.tar.gz
linux-3.10-e78521f3212d5d3931442819cbf0910fe1b28beb.tar.bz2
linux-3.10-e78521f3212d5d3931442819cbf0910fe1b28beb.zip
ALSA: misc typo fixes
Fixed typos in disabled codes via #if 0. Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers')
-rw-r--r--sound/drivers/dummy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/dummy.c b/sound/drivers/dummy.c
index e5e749f3e0e..73be7e14a60 100644
--- a/sound/drivers/dummy.c
+++ b/sound/drivers/dummy.c
@@ -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;
}