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
committad av Gerrit - the friendly Code Review server
förälder 531591b654 1b6075d5c1
incheckning a6400b2c81

Visa fil

@@ -4083,7 +4083,8 @@ error:
static bool dsi_display_validate_panel_resources(struct dsi_display *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");
return false;
}