From: Archit Taneja Date: Fri, 11 Apr 2014 07:23:32 +0000 (+0530) Subject: drm/omap: Fix crash when using LCD3 overlay manager X-Git-Tag: accepted/tizen/common/20141203.182822~168^2~8^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=71b6667765c7019f3fd5ea5e0c02f65f7331f3e1;p=platform%2Fkernel%2Flinux-arm64.git drm/omap: Fix crash when using LCD3 overlay manager The channel_names list didn't have a string populated for LCD3 manager, this results in a crash when the display's output is connected to LCD3. Add an entry for LCD3. Reported-by: Somnath Mukherjee Signed-off-by: Archit Taneja Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c index b3a7529..46f8e1e 100644 --- a/drivers/gpu/drm/omapdrm/omap_crtc.c +++ b/drivers/gpu/drm/omapdrm/omap_crtc.c @@ -654,6 +654,7 @@ static const char *channel_names[] = { [OMAP_DSS_CHANNEL_LCD] = "lcd", [OMAP_DSS_CHANNEL_DIGIT] = "tv", [OMAP_DSS_CHANNEL_LCD2] = "lcd2", + [OMAP_DSS_CHANNEL_LCD3] = "lcd3", }; void omap_crtc_pre_init(void)