From 2056237656f8e8a33ce6024d309a1d8a454c8946 Mon Sep 17 00:00:00 2001 From: Xinliang Liu Date: Thu, 22 Oct 2015 14:33:43 +0800 Subject: [PATCH] drm/mipi_dsi: Fix NULL hang of of_find_mipi_dsi_host_by_node Signed-off-by: Xinliang Liu --- drivers/gpu/drm/drm_mipi_dsi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_mipi_dsi.c b/drivers/gpu/drm/drm_mipi_dsi.c index e487f56ffc4c53..5ad3e775254d56 100644 --- a/drivers/gpu/drm/drm_mipi_dsi.c +++ b/drivers/gpu/drm/drm_mipi_dsi.c @@ -260,7 +260,8 @@ int mipi_dsi_host_register(struct mipi_dsi_host *host) } mutex_lock(&host_lock); - list_add_tail(&host->list, &host_list); +// list_add_tail(&host->list, &host_list); + list_add(&host->list, &host_list); mutex_unlock(&host_lock); return 0;