- pass dev_id to free_irq in dispc
- stop ESD poll only if it was started in lcd_mipid
Signed-off-by: Imre Deak <imre.deak@solidboot.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
{
cleanup_fbmem();
free_palette_ram();
- free_irq(INT_24XX_DSS_IRQ, NULL);
+ free_irq(INT_24XX_DSS_IRQ, dispc.fbdev);
enable_lcd_clocks(0);
put_dss_clocks();
}
{
struct mipid_device *md = to_mipid_device(panel);
- mipid_esd_stop_check(md);
+ if (md->enabled)
+ mipid_esd_stop_check(md);
destroy_workqueue(md->esd_wq);
}