Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271172
b: refs/heads/master
c: 3e3ea71
h: refs/heads/master
v: v3
  • Loading branch information
Viresh Kumar authored and Grant Likely committed Sep 21, 2011
1 parent 43cba58 commit ad25dc3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: 0379b2a33a8a03d4ad1036ef646419dbdf1ac15a
refs/heads/master: 3e3ea716270dc64810f624ad6a3672440b45d3d4
8 changes: 6 additions & 2 deletions trunk/drivers/spi/spi-pl022.c
Original file line number Diff line number Diff line change
Expand Up @@ -2237,7 +2237,9 @@ pl022_probe(struct amba_device *adev, const struct amba_id *id)
err_start_queue:
err_init_queue:
destroy_queue(pl022);
pl022_dma_remove(pl022);
if (platform_info->enable_dma)
pl022_dma_remove(pl022);

free_irq(adev->irq[0], pl022);
pm_runtime_disable(&adev->dev);
err_no_irq:
Expand Down Expand Up @@ -2265,7 +2267,9 @@ pl022_remove(struct amba_device *adev)
if (destroy_queue(pl022) != 0)
dev_err(&adev->dev, "queue remove failed\n");
load_ssp_default_config(pl022);
pl022_dma_remove(pl022);
if (pl022->master_info->enable_dma)
pl022_dma_remove(pl022);

free_irq(adev->irq[0], pl022);
clk_disable(pl022->clk);
clk_put(pl022->clk);
Expand Down

0 comments on commit ad25dc3

Please sign in to comment.