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

Commit 422ccbd5 authored by Tomi Valkeinen's avatar Tomi Valkeinen
Browse files

OMAPDSS: set suppress_bind_attrs



omapdss drivers cannot handle devices being unbound while the devices
are part of a connected display pipeline. Module refcounts are used to
prevent unloading the modules, but one can still manually unbind the
devices via sysfs, causing crash.

Set suppress_bind_attrs to disable the bind/unbind support via sysfs.

Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 51b5cb3f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -308,6 +308,7 @@ static struct platform_driver tvc_connector_driver = {
		.name	= "connector-analog-tv",
		.owner	= THIS_MODULE,
		.of_match_table = tvc_of_match,
		.suppress_bind_attrs = true,
	},
};

+1 −0
Original line number Diff line number Diff line
@@ -391,6 +391,7 @@ static struct platform_driver dvi_connector_driver = {
		.name	= "connector-dvi",
		.owner	= THIS_MODULE,
		.of_match_table = dvic_of_match,
		.suppress_bind_attrs = true,
	},
};

+1 −0
Original line number Diff line number Diff line
@@ -437,6 +437,7 @@ static struct platform_driver hdmi_connector_driver = {
		.name	= "connector-hdmi",
		.owner	= THIS_MODULE,
		.of_match_table = hdmic_of_match,
		.suppress_bind_attrs = true,
	},
};

+1 −0
Original line number Diff line number Diff line
@@ -298,6 +298,7 @@ static struct platform_driver tfp410_driver = {
		.name	= "tfp410",
		.owner	= THIS_MODULE,
		.of_match_table = tfp410_of_match,
		.suppress_bind_attrs = true,
	},
};

+1 −0
Original line number Diff line number Diff line
@@ -461,6 +461,7 @@ static struct platform_driver tpd_driver = {
		.name	= "tpd12s015",
		.owner	= THIS_MODULE,
		.of_match_table = tpd_of_match,
		.suppress_bind_attrs = true,
	},
};

Loading