Explorar o código

disp: msm: dsi: fix parsing of display name from boot name

Change fixes parsing of software TE tag added to the display
name from bootloader.

Change-Id: I4747cc6eff43d681477150d6cad7a737963bf11c
Signed-off-by: Satya Rama Aditya Pinapala <[email protected]>
Satya Rama Aditya Pinapala %!s(int64=5) %!d(string=hai) anos
pai
achega
06e8f4436a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      msm/dsi/dsi_display.c

+ 1 - 1
msm/dsi/dsi_display.c

@@ -2160,7 +2160,7 @@ static void dsi_display_parse_cmdline_topology(struct dsi_display *display,
 	else
 		boot_str = dsi_display_secondary;
 
-	sw_te = strnstr(boot_str, ":swte", strlen(boot_str));
+	sw_te = strnstr(boot_str, ":sim-swte", strlen(boot_str));
 	if (sw_te)
 		display->sw_te_using_wd = true;