Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71b66677 authored by Archit Taneja's avatar Archit Taneja Committed by Tomi Valkeinen
Browse files

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: default avatarSomnath Mukherjee <somnath@ti.com>
Signed-off-by: default avatarArchit Taneja <archit@ti.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent f2cff0f3
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -654,6 +654,7 @@ static const char *channel_names[] = {
		[OMAP_DSS_CHANNEL_LCD] = "lcd",
		[OMAP_DSS_CHANNEL_LCD] = "lcd",
		[OMAP_DSS_CHANNEL_DIGIT] = "tv",
		[OMAP_DSS_CHANNEL_DIGIT] = "tv",
		[OMAP_DSS_CHANNEL_LCD2] = "lcd2",
		[OMAP_DSS_CHANNEL_LCD2] = "lcd2",
		[OMAP_DSS_CHANNEL_LCD3] = "lcd3",
};
};


void omap_crtc_pre_init(void)
void omap_crtc_pre_init(void)