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

Commit 5a2ca5a6 authored by Veera Sundaram Sankaran's avatar Veera Sundaram Sankaran
Browse files

msm: display: qpic: Fix possible null dereference



Fixed a possible null dereference in qpic panel

Change-Id: Ie2299090a45dadd189b4075d2e5a6744879da710
Signed-off-by: default avatarVeera Sundaram Sankaran <veeras@codeaurora.org>
parent 169417fe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -232,7 +232,7 @@ static int mdss_qpic_panel_probe(struct platform_device *pdev)
		return rc;

	/* select panel according to label */
	if (!strcmp(panel_name, "ili qvga lcdc panel")) {
	if (panel_name && !strcmp(panel_name, "ili qvga lcdc panel")) {
		qpic_panel_on = ili9341_on;
		qpic_panel_off = ili9341_off;
	} else {