diff options
author | Mariusz Kozlowski <m.kozlowski@tuxland.pl> | 2008-10-19 12:34:22 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-10-19 12:36:08 +0400 |
commit | e78521f3212d5d3931442819cbf0910fe1b28beb (patch) | |
tree | f1f237f5e1286b7ae0ebfb759e919e2c0900aa27 /sound | |
parent | a66547f3a1295d782fc0923d872b309994cea32a (diff) | |
download | linux-e78521f3212d5d3931442819cbf0910fe1b28beb.tar.xz |
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')
-rw-r--r-- | sound/drivers/dummy.c | 2 | ||||
-rw-r--r-- | sound/pci/ca0106/ca0106_main.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sound/drivers/dummy.c b/sound/drivers/dummy.c index e5e749f3e0ef..73be7e14a603 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; } diff --git a/sound/pci/ca0106/ca0106_main.c b/sound/pci/ca0106/ca0106_main.c index a7d89662acf6..88fbf285d2b7 100644 --- a/sound/pci/ca0106/ca0106_main.c +++ b/sound/pci/ca0106/ca0106_main.c @@ -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; |