[PATCH] drm/exynos: Fix NULL pointer exception when suspending without components

2014-07-01 Thread Inki Dae
On 2014? 06? 30? 22:25, Krzysztof Kozlowski wrote: > Fix a NULL pointer exception when main exynos drm driver was probed > successfully but no components were added (e.g. by incomplete DTS). In > such case the exynos_drm_load() is never called and drvdata is NULL. > Right, it's good report. Appli

[PATCH] drm/exynos: Fix NULL pointer exception when suspending without components

2014-06-30 Thread Krzysztof Kozlowski
Fix a NULL pointer exception when main exynos drm driver was probed successfully but no components were added (e.g. by incomplete DTS). In such case the exynos_drm_load() is never called and drvdata is NULL. The NULL pointer exception may theoretically also happen as a effect of race between addi