projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ed47c4
)
backlight: accept embedded display port named e.g. card0-eDP-1
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Mon, 8 Aug 2022 11:51:46 +0000
(20:51 +0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Tue, 9 Aug 2022 05:30:05 +0000
(14:30 +0900)
src/backlight/backlight.c
patch
|
blob
|
history
diff --git
a/src/backlight/backlight.c
b/src/backlight/backlight.c
index a4e5d77f6c8074c98136d506d440c6dd80d04d01..0ec6afb773154c87395196aff2a710d66147f728 100644
(file)
--- 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;