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

这个提交包含在:
qctecmdr
2021-10-19 22:14:08 -07:00
提交者 Gerrit - the friendly Code Review server
当前提交 a6400b2c81

查看文件

@@ -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;
} }