From a35d3bc8b35db2f024415bf64335d04116881a10 Mon Sep 17 00:00:00 2001 From: Ash Willis Date: Tue, 29 May 2007 14:34:17 +0200 Subject: [PATCH] --- yaml --- r: 62047 b: refs/heads/master c: 65ff2357a7e40bf4b42858516861c3d0e19f512b h: refs/heads/master i: 62045: b5bbe1f319ade9e64529bdca156dbee7c916b0e8 62043: 4f04ac442f7d1e4c3bf98815973c66ae84709d1d 62039: 14c210a8f7f535e2f79bfb159aecf41b655006dc 62031: 04e9b757906f59c19b983893389cd546a45409fe 62015: e543fb08be48a478357a312b3345465cb14ada62 v: v3 --- [refs] | 2 +- trunk/sound/pci/als300.c | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 3d8ff8fac933..37bc5ec4cee5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: dda369cf2022fb767b158c4ba2fe2f1ca1fba29c +refs/heads/master: 65ff2357a7e40bf4b42858516861c3d0e19f512b diff --git a/trunk/sound/pci/als300.c b/trunk/sound/pci/als300.c index 8afcb98ca7bb..48cc39b771d9 100644 --- a/trunk/sound/pci/als300.c +++ b/trunk/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;