diff options
-rw-r--r-- | src/mainboard/google/geralt/panel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/geralt/panel.c b/src/mainboard/google/geralt/panel.c index b5519432ef..3174870050 100644 --- a/src/mainboard/google/geralt/panel.c +++ b/src/mainboard/google/geralt/panel.c @@ -53,7 +53,8 @@ struct panel_description *get_active_panel(void) /* We need to find init cmds for MIPI panel from CBFS */ get_mipi_cmd_from_cbfs(panel); - assert(panel->s); + if (!panel->s) + return NULL; const struct edid *edid = &panel->s->edid; const char *name = edid->ascii_string; |