static int flexcop_pci_dma_init(struct flexcop_pci *fc_pci){	int ret;	if ((ret = flexcop_dma_allocate(fc_pci->pdev,&fc_pci->dma[0],FC_DEFAULT_DMA1_BUFSIZE)) != 0)		return ret;	if ((ret = flexcop_dma_allocate(fc_pci->pdev,&fc_pci->dma[1],FC_DEFAULT_DMA2_BUFSIZE)) != 0)		goto dma1_free;	flexcop_sram_set_dest(fc_pci->fc_dev,FC_SRAM_DEST_MEDIA | FC_SRAM_DEST_NET, FC_SRAM_DEST_TARGET_DMA1);	flexcop_sram_set_dest(fc_pci->fc_dev,FC_SRAM_DEST_CAO   | FC_SRAM_DEST_CAI, FC_SRAM_DEST_TARGET_DMA2);	fc_pci->init_state |= FC_PCI_DMA_INIT;	goto success;dma1_free:	flexcop_dma_free(&fc_pci->dma[0]);success:	return ret;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/64221be7b9006338e4a45228f013e467ee4bf045/flexcop-pci.c/buggy/drivers/media/dvb/b2c2/flexcop-pci.c