forked from Minki/linux
3cfc183052
The mxsfb->crtc.funcs may already be NULL when unloading the driver,
in which case calling mxsfb_irq_disable() via drm_irq_uninstall() from
mxsfb_unload() leads to NULL pointer dereference.
Since all we care about is masking the IRQ and mxsfb->base is still
valid, just use that to clear and mask the IRQ.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mxsfb_drv.c | ||
mxsfb_drv.h | ||
mxsfb_kms.c | ||
mxsfb_regs.h |