projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
672c544
)
spi/spi_sh_msiof: fix a wrong free_irq() parameter
author
Guennadi Liakhovetski
<g.liakhovetski@gmx.de>
Mon, 17 Jan 2011 16:01:07 +0000
(17:01 +0100)
committer
Grant Likely
<grant.likely@secretlab.ca>
Mon, 17 Jan 2011 17:17:36 +0000
(10:17 -0700)
Without this fix reloading of the driver is impossible.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi_sh_msiof.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi_sh_msiof.c
b/drivers/spi/spi_sh_msiof.c
index
d93b667
..
56f60c8
100644
(file)
--- a/
drivers/spi/spi_sh_msiof.c
+++ b/
drivers/spi/spi_sh_msiof.c
@@
-635,7
+635,7
@@
static int sh_msiof_spi_remove(struct platform_device *pdev)
ret = spi_bitbang_stop(&p->bitbang);
if (!ret) {
pm_runtime_disable(&pdev->dev);
- free_irq(platform_get_irq(pdev, 0),
sh_msiof_spi_irq
);
+ free_irq(platform_get_irq(pdev, 0),
p
);
iounmap(p->mapbase);
clk_put(p->clk);
spi_master_put(p->bitbang.master);