Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e36ebaf4 authored by Keith Packard's avatar Keith Packard Committed by Dave Airlie
Browse files

drm: set permissions on edid file to 0444



Without initializing the sysfs attributes for the edid file,
it was created with mode 0, making it difficult for applications to use.

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 75185c92
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -317,6 +317,7 @@ static struct device_attribute connector_attrs_opt1[] = {

static struct bin_attribute edid_attr = {
	.attr.name = "edid",
	.attr.mode = 0444,
	.size = 128,
	.read = edid_show,
};