diff options
author | Ash Willis <ashwillis@programmer.net> | 2007-05-29 14:34:17 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-07-20 11:11:21 +0200 |
commit | 65ff2357a7e40bf4b42858516861c3d0e19f512b (patch) | |
tree | 79b55db9b2ce5dfc2ac7ab3f0ebb79786d0241a7 /sound | |
parent | dda369cf2022fb767b158c4ba2fe2f1ca1fba29c (diff) | |
download | linux-3.10-65ff2357a7e40bf4b42858516861c3d0e19f512b.tar.gz linux-3.10-65ff2357a7e40bf4b42858516861c3d0e19f512b.tar.bz2 linux-3.10-65ff2357a7e40bf4b42858516861c3d0e19f512b.zip |
[ALSA] Disable debugging output for the ALS300 driver
Disables debugging output in the ALS300 driver.
Also contains a whitespace cleanup and a fix for a potential bug.
Signed-off-by: Ash Willis <ashwillis@programmer.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/als300.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sound/pci/als300.c b/sound/pci/als300.c index 8afcb98ca7b..48cc39b771d 100644 --- a/sound/pci/als300.c +++ b/sound/pci/als300.c @@ -88,8 +88,8 @@ #define PLAYBACK_BLOCK_COUNTER 0x9A #define RECORD_BLOCK_COUNTER 0x9B -#define DEBUG_CALLS 1 -#define DEBUG_PLAY_REC 1 +#define DEBUG_CALLS 0 +#define DEBUG_PLAY_REC 0 #if DEBUG_CALLS #define snd_als300_dbgcalls(format, args...) printk(format, ##args) @@ -733,7 +733,8 @@ static int __devinit snd_als300_create(struct snd_card *card, snd_als300_init(chip); - if (snd_als300_ac97(chip) < 0) { + err = snd_als300_ac97(chip); + if (err < 0) { snd_printk(KERN_WARNING "Could not create ac97\n"); snd_als300_free(chip); return err; |