Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228099
b: refs/heads/master
c: a82ad05
h: refs/heads/master
i:
  228097: 94ebe67
  228095: f7e67f0
v: v3
  • Loading branch information
Emilio G. Cota authored and Greg Kroah-Hartman committed Nov 16, 2010
1 parent c42e701 commit 79dfa76
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b12ef0b1f5d0358bc13cc716155d6e9b5584af48
refs/heads/master: a82ad05ecd9dbd909509a332d3aa5f4ac439a054
Empty file.
11 changes: 7 additions & 4 deletions trunk/drivers/staging/vme/bridges/vme_tsi148.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,11 @@ static int tsi148_irq_init(struct vme_bridge *tsi148_bridge)
return 0;
}

static void tsi148_irq_exit(struct tsi148_driver *bridge, struct pci_dev *pdev)
static void tsi148_irq_exit(struct vme_bridge *tsi148_bridge,
struct pci_dev *pdev)
{
struct tsi148_driver *bridge = tsi148_bridge->driver_priv;

/* Turn off interrupts */
iowrite32be(0x0, bridge->base + TSI148_LCSR_INTEO);
iowrite32be(0x0, bridge->base + TSI148_LCSR_INTEN);
Expand All @@ -384,7 +387,7 @@ static void tsi148_irq_exit(struct tsi148_driver *bridge, struct pci_dev *pdev)
iowrite32be(0xFFFFFFFF, bridge->base + TSI148_LCSR_INTC);

/* Detach interrupt handler */
free_irq(pdev->irq, pdev);
free_irq(pdev->irq, tsi148_bridge);
}

/*
Expand Down Expand Up @@ -2511,7 +2514,7 @@ static int tsi148_probe(struct pci_dev *pdev, const struct pci_device_id *id)
kfree(master_image);
}

tsi148_irq_exit(tsi148_device, pdev);
tsi148_irq_exit(tsi148_bridge, pdev);
err_irq:
err_test:
iounmap(tsi148_device->base);
Expand Down Expand Up @@ -2583,7 +2586,7 @@ static void tsi148_remove(struct pci_dev *pdev)
iowrite32be(0x0, bridge->base + TSI148_LCSR_INTM1);
iowrite32be(0x0, bridge->base + TSI148_LCSR_INTM2);

tsi148_irq_exit(bridge, pdev);
tsi148_irq_exit(tsi148_bridge, pdev);

vme_unregister_bridge(tsi148_bridge);

Expand Down

0 comments on commit 79dfa76

Please sign in to comment.