Skip to content

Commit

Permalink
spi: spi-au1550: fix build failure
Browse files Browse the repository at this point in the history
Fix a build failure introduced with commit 3067053
(spi: au1550: Fix bug in deallocation of memory)

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Manuel Lauss authored and Mark Brown committed Aug 19, 2014
1 parent 7d1311b commit 61a2381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/spi/spi-au1550.c
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ static int au1550_spi_remove(struct platform_device *pdev)
spi_bitbang_stop(&hw->bitbang);
free_irq(hw->irq, hw);
iounmap((void __iomem *)hw->regs);
release_mem_region(r->start, sizeof(psc_spi_t));
release_mem_region(hw->ioarea->start, sizeof(psc_spi_t));

if (hw->usedma) {
au1550_spi_dma_rxtmp_free(hw);
Expand Down

0 comments on commit 61a2381

Please sign in to comment.