diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-07-12 21:20:03 +0800 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-07-29 11:25:03 +0300 |
commit | 7808e3291e1e101e9ad6e8263119c4a2abae05ef (patch) | |
tree | 6fc7ab0eca7183144396405d564b0f068623b965 /drivers/video/sh7760fb.c | |
parent | 8b00e1831cea899cd4dfe04e574c26e376c27368 (diff) | |
download | linux-7808e3291e1e101e9ad6e8263119c4a2abae05ef.tar.bz2 |
video: sh7760fb: fix to pass correct device identity to free_irq()
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>
Diffstat (limited to 'drivers/video/sh7760fb.c')
-rw-r--r-- | drivers/video/sh7760fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/sh7760fb.c b/drivers/video/sh7760fb.c index a8c6c43a4658..1265b25f9f99 100644 --- 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); |