[PATCH] drm/exynos: dpi: Fix NULL pointer dereference with legacy bindings

2014-06-18 Thread Inki Dae
On 2014? 06? 18? 09:09, Tomasz Figa wrote: > On 10.06.2014 22:57, Tomasz Figa wrote: >> If there is no panel node in DT and instead display timings are provided >> directly in FIMD node, there is no panel object created and ctx->panel >> becomes NULL. However during Exynos DRM initialization >>

[PATCH] drm/exynos: dpi: Fix NULL pointer dereference with legacy bindings

2014-06-18 Thread Jingoo Han
On Wednesday, June 11, 2014 5:58 AM, Tomasz Figa wrote: > > If there is no panel node in DT and instead display timings are provided > directly in FIMD node, there is no panel object created and ctx->panel > becomes NULL. However during Exynos DRM initialization > drm_helper_hpd_irq_event() is

[PATCH] drm/exynos: dpi: Fix NULL pointer dereference with legacy bindings

2014-06-18 Thread Tomasz Figa
On 10.06.2014 22:57, Tomasz Figa wrote: > If there is no panel node in DT and instead display timings are provided > directly in FIMD node, there is no panel object created and ctx->panel > becomes NULL. However during Exynos DRM initialization > drm_helper_hpd_irq_event() is called, which in

[PATCH] drm/exynos: dpi: Fix NULL pointer dereference with legacy bindings

2014-06-10 Thread Tomasz Figa
If there is no panel node in DT and instead display timings are provided directly in FIMD node, there is no panel object created and ctx->panel becomes NULL. However during Exynos DRM initialization drm_helper_hpd_irq_event() is called, which in turns calls exynos_dpi_detect(), which dereferences