]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ALSA: misc typo fixes
authorMariusz Kozlowski <m.kozlowski@tuxland.pl>
Sun, 19 Oct 2008 08:34:22 +0000 (10:34 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 19 Oct 2008 08:36:08 +0000 (10:36 +0200)
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>
sound/drivers/dummy.c
sound/pci/ca0106/ca0106_main.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;
 }
index a7d89662acf66e200c5305ac409fd3bfd7188500..88fbf285d2b74ea6cf1ccc701398d0e730784840 100644 (file)
@@ -759,7 +759,6 @@ static int snd_ca0106_pcm_prepare_playback(struct snd_pcm_substream *substream)
                               SPCS_CHANNELNUM_LEFT | SPCS_SOURCENUM_UNSPEC |
                               SPCS_GENERATIONSTATUS | 0x00001200 |
                               0x00000000 | SPCS_EMPHASIS_NONE | SPCS_COPYRIGHT );
-       }
 #endif
 
        return 0;