1118,7 → 1118,6 |
|
void bttv_close(struct bttv *btv) |
{ |
unsigned long tmp; |
int need_wait; |
|
vfree_32(btv->fbuffer); |
1133,19 → 1132,9 |
btv->scr_on = 0; |
btv->risc_cap_odd = 0; |
btv->risc_cap_even = 0; |
bt848_set_risc_jmps(btv,-1); |
|
//handler_remove(btv->dev->irq); |
handler_remove(btv->dev->irq); |
|
/* |
* A word of warning. At this point the chip |
* is still capturing because its FIFO hasn't emptied |
* and the DMA control operations are posted PCI |
* operations. |
*/ |
|
//tmp = btread(BT848_I2C); /* This fixes the PCI posting delay */ |
|
pci_write_config_dword(btv->dev,PCI_COMMAND,oldpci_command); |
|
} |