Merge "disp: msm: dsi: remove check for reset gpio config in ext bridge mode"

This commit is contained in:
qctecmdr
2021-10-19 22:14:08 -07:00
committed by Gerrit - the friendly Code Review server

View File

@@ -4083,7 +4083,8 @@ error:
static bool dsi_display_validate_panel_resources(struct dsi_display *display) static bool dsi_display_validate_panel_resources(struct dsi_display *display)
{ {
if (!is_sim_panel(display)) { if (!is_sim_panel(display)) {
if (!gpio_is_valid(display->panel->reset_config.reset_gpio)) { if (!display->panel->host_config.ext_bridge_mode &&
!gpio_is_valid(display->panel->reset_config.reset_gpio)) {
DSI_ERR("invalid reset gpio for the panel\n"); DSI_ERR("invalid reset gpio for the panel\n");
return false; return false;
} }