Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 421ee18d authored by Inki Dae's avatar Inki Dae
Browse files

drm/exynos: fix null pointer dereference issue



This patch fixes null pointer dereference issue incurred
when ipp driver is enabled and Exynos drm driver is closed.

Non kms driver should register its own sub driver to setup necessary
resources, which is done by load(). So null pointer dereference
occurs when ipp driver is enabled and Exynos drm driver is closed
because ipp core device is registered after component_master_add_with_match
call.

This patch makes exynos_drm_device_subdrv_probe() to be called after all non
kms drivers are registered.

Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent e9fbdcb4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment