drm/exynos: fix drm driver de-initialization order
authorAndrzej Hajda <a.hajda@samsung.com>
Tue, 9 Sep 2014 13:16:06 +0000 (15:16 +0200)
committerInki Dae <daeinki@gmail.com>
Fri, 19 Sep 2014 15:56:14 +0000 (00:56 +0900)
commit9f3dd7dbc5a5b6048d7dfccff5e0e9d8b50ff674
treebe586ea7b87e322347728094afcded230150fe92
parenta36ed466870ef65755492a69886a38362d33d90e
drm/exynos: fix drm driver de-initialization order

Since components have their own cleanup routines calling
drm_mode_config_cleanup before component_unbind_all causes errors
due to double free of KMS objects. The patch fixes it by changing
de-initialization order. Now it is exactly opposite to init order.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_drv.c