[lkml]   [2001]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: [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...


--- 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
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:55    [W:0.070 / U:1.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site