We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 753a06f commit e9eccc7Copy full SHA for e9eccc7
techpack/display/msm/dsi/dsi_panel.c
@@ -4437,17 +4437,15 @@ int dsi_panel_drv_init(struct dsi_panel *panel,
4437
DSI_ERR("[%s] failed to request gpios, rc=%d\n", panel->name,
4438
rc);
4439
#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
+ if (iris_is_chip_supported()) {
+ if (!strcmp(panel->type, "primary"))
+ goto error_pinctrl_deinit;
+ rc = 0;
+ } else
4445
#endif
4446
4447
-
4448
}
4449
4450
4451
rc = dsi_panel_bl_register(panel);
4452
if (rc) {
4453
if (rc != -EPROBE_DEFER)
0 commit comments