commit | 9ad703e9435a5a9fb267b69af298498dc7d0db55 | [log] [tgz] |
---|---|---|
author | Inki Dae <inki.dae@samsung.com> | Fri Nov 07 20:31:08 2014 +0900 |
committer | Inki Dae <inki.dae@samsung.com> | Mon Nov 10 14:40:09 2014 +0900 |
tree | 93812396ba27cf8315b3155a40587abd360d1921 | |
parent | f7c2f36f4395f12d8ecb25c28ee88ec87b457089 [diff] |
drm/exynos: g2d: fix null pointer dereference This patch fixes a null pointer dereference issue incurred by calling g2d_remove when exynos_drm_platform_probe is failed. cmdlist_pool of g2d is allocated when g2d sub driver is probed. So if exynos_drm_platform_probe is failed, the g2d sub driver is not probed and the cmdlist_pool is still NULL. Signed-off-by: Inki Dae <inki.dae@samsung.com>