mp3geek wrote:
safe to use this directly on the 2.6.20.x source?
The fix is valid but the patch I posted won't apply to 2.6.20. Use this
one instead.
--
Antti Seppälä
--- linux-2.6.20/drivers/media/dvb/b2c2/flexcop-pci.c~ 2007-02-04 20:44:54.000000000 +0200
+++ linux-2.6.20/drivers/media/dvb/b2c2/flexcop-pci.c 2007-04-04 22:10:25.000000000 +0300
@@ -59,8 +59,6 @@
u32 last_dma1_cur_pos; /* position of the pointer last time the timer/packet irq occured */
int count;
- spinlock_t irq_lock;
-
unsigned long last_irq;
struct delayed_work irq_check_work;
@@ -130,8 +128,6 @@
flexcop_ibi_value v;
irqreturn_t ret = IRQ_HANDLED;
- spin_lock_irq(&fc_pci->irq_lock);
-
v = fc->read_ibi_reg(fc,irq_20c);
/* errors */
@@ -194,8 +190,6 @@
ret = IRQ_NONE;
}
- spin_unlock_irq(&fc_pci->irq_lock);
-
return ret;
}
@@ -298,8 +292,6 @@
IRQF_SHARED, DRIVER_NAME, fc_pci)) != 0)
goto err_pci_iounmap;
- spin_lock_init(&fc_pci->irq_lock);
-
fc_pci->init_state |= FC_PCI_INIT;
return ret;
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb