diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-08-08 20:51:46 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-08-09 14:30:05 +0900 |
commit | 85ff4150e145da6dbe4446306f0b2fedc57dae89 (patch) | |
tree | 867310cbbc4ac346a1b352afb5ec119d8786ee7f | |
parent | 5ed47c4d230b9491339c16c6ea4181dfd293bc98 (diff) | |
download | systemd-85ff4150e145da6dbe4446306f0b2fedc57dae89.tar.gz |
backlight: accept embedded display port named e.g. card0-eDP-1
-rw-r--r-- | src/backlight/backlight.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backlight/backlight.c b/src/backlight/backlight.c index a4e5d77f6c..0ec6afb773 100644 --- a/src/backlight/backlight.c +++ b/src/backlight/backlight.c @@ -72,7 +72,7 @@ static int find_pci_or_platform_parent(sd_device *device, sd_device **ret) { return -ENODATA; c += strspn(c, DIGITS); - if (*c == '-' && !STARTSWITH_SET(c, "-LVDS-", "-Embedded DisplayPort-")) + if (*c == '-' && !STARTSWITH_SET(c, "-LVDS-", "-Embedded DisplayPort-", "-eDP-")) /* A connector DRM device, let's ignore all but LVDS and eDP! */ return -EOPNOTSUPP; |