mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
This commit is contained in:
parent
8b00e1831c
commit
7808e3291e
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue