Skip to contentSkip to conversation

PATCH: update ymfpci for new ac97

DISCUSSION Pete Zaitcev 1 participant 1 message Jul 12, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

sound/oss/ymfpci.c line 2480

Quoted 11 lines
sound/oss/ymfpci.c +1 -1
@@ -2462,7 +2474,7 @@
 	}
 
 	eid = ymfpci_codec_read(codec, AC97_EXTENDED_ID);
-	if (eid==0xFFFFFF) {
+	if (eid==0xFFFF) {
 		printk(KERN_WARNING "ymfpci: no codec attached ?\n");
 		goto out_kfree;
 	}

ok, I think it's all right for 2.5, though for 2.4 I just removed the check. Consider that it was not working for the whole life time of the driver, and not a single soul complained. Don't forget to fix cs46xx, the origin of this copy-n-paste.

-- Pete