Messages in this thread | | | Date | Fri, 11 Jul 2003 21:59:16 -0400 | From | Pete Zaitcev <> | Subject | Re: PATCH: update ymfpci for new ac97 |
| |
> --- linux-2.5.75/sound/oss/ymfpci.c 2003-07-10 21:11:35.000000000 +0100 > +++ linux-2.5.75-ac1/sound/oss/ymfpci.c 2003-07-11 16:59:04.000000000 +0100 > @@ -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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |