mirror of
https://github.com/patjak/facetimehd.git
synced 2026-04-09 19:10:01 +02:00
bcwc_pcie: fix goto statements
This commit is contained in:
@@ -392,14 +392,14 @@ static int bcwc_pci_probe(struct pci_dev *pdev,
|
||||
|
||||
ret = bcwc_irq_enable(dev_priv);
|
||||
if (ret)
|
||||
goto fail_msi;
|
||||
goto fail_work;
|
||||
|
||||
ret = bcwc_pci_set_dma_mask(dev_priv, 64);
|
||||
if (ret)
|
||||
ret = bcwc_pci_set_dma_mask(dev_priv, 32);
|
||||
|
||||
if (ret)
|
||||
goto fail_irq;
|
||||
goto fail_work;
|
||||
|
||||
dev_info(&pdev->dev, "Setting %ubit DMA mask\n", dev_priv->dma_mask);
|
||||
pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(dev_priv->dma_mask));
|
||||
|
||||
Reference in New Issue
Block a user