projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b00e18
)
video: sh7760fb: fix to pass correct device identity to free_irq()
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Fri, 12 Jul 2013 13:20:03 +0000
(21:20 +0800)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Mon, 29 Jul 2013 08:25:03 +0000
(11:25 +0300)
free_irq() expects the same device identity that was passed to
corresponding request_irq(), otherwise the IRQ is not freed.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/sh7760fb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/sh7760fb.c
b/drivers/video/sh7760fb.c
index a8c6c43a4658565c8b21fa38a3baaf1c5bd82e36..1265b25f9f99993efd8d094716acb65563d8570f 100644
(file)
--- a/
drivers/video/sh7760fb.c
+++ b/
drivers/video/sh7760fb.c
@@
-567,7
+567,7
@@
static int sh7760fb_remove(struct platform_device *dev)
fb_dealloc_cmap(&info->cmap);
sh7760fb_free_mem(info);
if (par->irq >= 0)
- free_irq(par->irq,
par
);
+ free_irq(par->irq,
&par->vsync
);
iounmap(par->base);
release_mem_region(par->ioarea->start, resource_size(par->ioarea));
framebuffer_release(info);