Skip to content

Commit e9eccc7

Browse files
committed
display: msm: dsi: Fix misleading intentations
1 parent 753a06f commit e9eccc7

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

techpack/display/msm/dsi/dsi_panel.c

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4437,17 +4437,15 @@ int dsi_panel_drv_init(struct dsi_panel *panel,
44374437
DSI_ERR("[%s] failed to request gpios, rc=%d\n", panel->name,
44384438
rc);
44394439
#if defined(OPLUS_FEATURE_PXLW_IRIS5)
4440-
if (iris_is_chip_supported()) {
4441-
if (!strcmp(panel->type, "primary"))
4442-
goto error_pinctrl_deinit;
4443-
rc = 0;
4444-
} else
4440+
if (iris_is_chip_supported()) {
4441+
if (!strcmp(panel->type, "primary"))
4442+
goto error_pinctrl_deinit;
4443+
rc = 0;
4444+
} else
44454445
#endif
4446-
goto error_pinctrl_deinit;
4447-
4446+
goto error_pinctrl_deinit;
44484447
}
44494448

4450-
44514449
rc = dsi_panel_bl_register(panel);
44524450
if (rc) {
44534451
if (rc != -EPROBE_DEFER)

0 commit comments

Comments
 (0)