提交 65ff2357 编写于 作者: A Ash Willis 提交者: Jaroslav Kysela

[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: NAsh Willis <ashwillis@programmer.net>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
Signed-off-by: NJaroslav Kysela <perex@suse.cz>
上级 dda369cf
...@@ -88,8 +88,8 @@ ...@@ -88,8 +88,8 @@
#define PLAYBACK_BLOCK_COUNTER 0x9A #define PLAYBACK_BLOCK_COUNTER 0x9A
#define RECORD_BLOCK_COUNTER 0x9B #define RECORD_BLOCK_COUNTER 0x9B
#define DEBUG_CALLS 1 #define DEBUG_CALLS 0
#define DEBUG_PLAY_REC 1 #define DEBUG_PLAY_REC 0
#if DEBUG_CALLS #if DEBUG_CALLS
#define snd_als300_dbgcalls(format, args...) printk(format, ##args) #define snd_als300_dbgcalls(format, args...) printk(format, ##args)
...@@ -733,7 +733,8 @@ static int __devinit snd_als300_create(struct snd_card *card, ...@@ -733,7 +733,8 @@ static int __devinit snd_als300_create(struct snd_card *card,
snd_als300_init(chip); 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_printk(KERN_WARNING "Could not create ac97\n");
snd_als300_free(chip); snd_als300_free(chip);
return err; return err;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册