Messages in this thread Patch in this message | | | Date | Tue, 12 Jun 2001 14:31:42 +0200 | From | Lukas Schroeder <> | Subject | Re: [patch] ess maestro, support for hardware volume control |
| |
the little patch below (vs. 2.4.5-ac13) fixes a freeze which happens when the maestro module was unloaded and a HWV button gets pushed generating the interrupt. so this disables all irqs of that chip on remove...
regards, lukas
--- linux-2.4.5-ac13/drivers/sound/maestro.c Tue Jun 12 13:41:24 2001 +++ linux/drivers/sound/maestro.c Tue Jun 12 14:13:40 2001 @@ -3575,6 +3575,12 @@ struct ess_card *card = pci_get_drvdata(pcidev); int i; + /* turn off all irqs; _especially_ the one for hardware volume + control (bit 6), which locks the machine dead when occurring after + the maestro module was removed. + */ + outw(0x0, card->iobase+0x18); + /* XXX maybe should force stop bob, but should be all stopped by _release by now */ free_irq(card->irq, card);
- 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/
| |