• I
    drm/exynos: fix null pointer dereference issue · 421ee18d
    Inki Dae 提交于
    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: NInki Dae <inki.dae@samsung.com>
    421ee18d
exynos_drm_drv.c 19.5 KB