Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 185 → Rev 186

/shark/trunk/drivers/bttv/bttv-driver.c
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);
 
}
/shark/trunk/drivers/bttv/fg.c
121,9 → 121,14
 
void FG_close(void)
{
 
int i;
task_kill(refresh_PID);
for(i=0;i<10000;i++);
bttv_close(&btv);
}
 
void * FG_getbuffer(void)