diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-05-01 16:24:37 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-05-01 16:24:37 +0100 |
commit | 2683e88413977a7f382106f8e8b3b684a597c761 (patch) | |
tree | 96f56121c3afed843fb705cbc75aa85cf9038fd0 /sound/isa/opti9xx/miro.c | |
parent | b07019f29328ebb1b48d3faf952b84f07ec9b973 (diff) | |
parent | 9f29333dae3488542b1344871e8ecb84084ad80e (diff) | |
download | op-kernel-dev-2683e88413977a7f382106f8e8b3b684a597c761.zip op-kernel-dev-2683e88413977a7f382106f8e8b3b684a597c761.tar.gz |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Reverting c7afb48eb5147be9eb9789b4161462d246451ac2 since a better (but
more intrusive) fix is now merged upstream.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'sound/isa/opti9xx/miro.c')
-rw-r--r-- | sound/isa/opti9xx/miro.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/isa/opti9xx/miro.c b/sound/isa/opti9xx/miro.c index 83d64bc..e6bfcf7 100644 --- a/sound/isa/opti9xx/miro.c +++ b/sound/isa/opti9xx/miro.c @@ -1179,20 +1179,17 @@ static int __init snd_card_miro_aci_detect(struct snd_card *card, struct snd_mir /* force ACI into a known state */ for (i = 0; i < 3; i++) if (aci_cmd(miro, ACI_ERROR_OP, -1, -1) < 0) { - snd_card_free(card); snd_printk(KERN_ERR "can't force aci into known state.\n"); return -ENXIO; } if ((miro->aci_vendor=aci_cmd(miro, ACI_READ_IDCODE, -1, -1)) < 0 || (miro->aci_product=aci_cmd(miro, ACI_READ_IDCODE, -1, -1)) < 0) { - snd_card_free(card); snd_printk(KERN_ERR "can't read aci id on 0x%lx.\n", miro->aci_port); return -ENXIO; } if ((miro->aci_version=aci_cmd(miro, ACI_READ_VERSION, -1, -1)) < 0) { - snd_card_free(card); snd_printk(KERN_ERR "can't read aci version on 0x%lx.\n", miro->aci_port); return -ENXIO; |