MLK-21317 drm/imx: core: fix dangling pointer use of 'drm_device'
When any fail happens during master's '>bind()' function, the
drm_device' pointer data which is set to the device driver data
will be put and freed. But if later, system suspend is called,
the freed 'drm_device' pointer will be used again.
Signed-off-by:
Fancy Fang <chen.fang@nxp.com>
Please register or sign in to comment