From de333e21bb0d57a4b3849a2be92d165582903d86 Mon Sep 17 00:00:00 2001 From: Muli Ben-Yehuda Date: Tue, 25 Feb 2003 02:30:02 -0800 Subject: [PATCH] [PATCH] trident 1/3 fix "did not come out of reset" The M5451 can sometimes not come out of reset. This is non fatal and it continues to work fine, so print a nasty message but don't fail the driver initialization. --- sound/oss/trident.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sound/oss/trident.c b/sound/oss/trident.c index 09a5a99bd4a33..4ddccd087a5a9 100644 --- a/sound/oss/trident.c +++ b/sound/oss/trident.c @@ -3933,8 +3933,10 @@ static int ali_reset_5451(struct trident_card *card) udelay(5000); } - printk(KERN_ERR "ALi 5451 did not come out of reset.\n"); - return 1; + /* This is non fatal if you have a non PM capable codec.. */ + printk(KERN_ERR "ALi 5451 did not come out of reset " + "- continuing anyway.\n"); + return 0; } /* AC97 codec initialisation. */ -- 2.53.0