Skip to content

Commit 71b6667

Browse files
Archit Tanejatomba
authored andcommitted
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 <somnath@ti.com> Signed-off-by: Archit Taneja <archit@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
1 parent f2cff0f commit 71b6667

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/gpu/drm/omapdrm/omap_crtc.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,7 @@ static const char *channel_names[] = {
654654
[OMAP_DSS_CHANNEL_LCD] = "lcd",
655655
[OMAP_DSS_CHANNEL_DIGIT] = "tv",
656656
[OMAP_DSS_CHANNEL_LCD2] = "lcd2",
657+
[OMAP_DSS_CHANNEL_LCD3] = "lcd3",
657658
};
658659

659660
void omap_crtc_pre_init(void)

0 commit comments

Comments
 (0)