aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_panel_backlight_quirks.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/drm_panel_backlight_quirks.c')
-rw-r--r--drivers/gpu/drm/drm_panel_backlight_quirks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_panel_backlight_quirks.c b/drivers/gpu/drm/drm_panel_backlight_quirks.c
index 598f812b7cb3..b38b33e26ea5 100644
--- a/drivers/gpu/drm/drm_panel_backlight_quirks.c
+++ b/drivers/gpu/drm/drm_panel_backlight_quirks.c
@@ -50,7 +50,7 @@ static bool drm_panel_min_backlight_quirk_matches(const struct drm_panel_min_bac
if (!dmi_match(quirk->dmi_match.field, quirk->dmi_match.value))
return false;
- if (!drm_edid_match(edid, &quirk->ident))
+ if (quirk->ident.panel_id && !drm_edid_match(edid, &quirk->ident))
return false;
return true;