Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251879
b: refs/heads/master
c: 8901e1b
h: refs/heads/master
i:
  251877: 97ad3e4
  251875: 67465d2
  251871: d85578f
v: v3
  • Loading branch information
Axel Lin authored and Grant Likely committed May 20, 2011
1 parent 05751ee commit 245225e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 680c1305e259a488f489bc887854523b6c6e0705
refs/heads/master: 8901e1b98e1dad75c4567d03dd00a59bd6c450e8
2 changes: 1 addition & 1 deletion trunk/drivers/spi/spi_tegra.c
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@ static int __devexit spi_tegra_remove(struct platform_device *pdev)
master = dev_get_drvdata(&pdev->dev);
tspi = spi_master_get_devdata(master);

spi_unregister_master(master);
tegra_dma_free_channel(tspi->rx_dma);

dma_free_coherent(&pdev->dev, sizeof(u32) * BB_LEN,
Expand All @@ -586,7 +587,6 @@ static int __devexit spi_tegra_remove(struct platform_device *pdev)
clk_put(tspi->clk);
iounmap(tspi->base);

spi_master_put(master);
r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
release_mem_region(r->start, (r->end - r->start) + 1);

Expand Down

0 comments on commit 245225e

Please sign in to comment.