summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/omap2/dss/hdmi4.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2014-10-16 09:54:25 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-10-22 11:07:07 +0300
commit422ccbd57170d18cfd9d4c0cdbdd4603929fc51b (patch)
tree122a6c2cd718492b86dc0c2537a65bd8d5a00304 /drivers/video/fbdev/omap2/dss/hdmi4.c
parent51b5cb3f4fe3e0ad9993942e95d179bdf2345f1b (diff)
downloadop-kernel-dev-422ccbd57170d18cfd9d4c0cdbdd4603929fc51b.zip
op-kernel-dev-422ccbd57170d18cfd9d4c0cdbdd4603929fc51b.tar.gz
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: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/fbdev/omap2/dss/hdmi4.c')
-rw-r--r--drivers/video/fbdev/omap2/dss/hdmi4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/omap2/dss/hdmi4.c b/drivers/video/fbdev/omap2/dss/hdmi4.c
index 6a8550c..9a8713c 100644
--- a/drivers/video/fbdev/omap2/dss/hdmi4.c
+++ b/drivers/video/fbdev/omap2/dss/hdmi4.c
@@ -781,6 +781,7 @@ static struct platform_driver omapdss_hdmihw_driver = {
.owner = THIS_MODULE,
.pm = &hdmi_pm_ops,
.of_match_table = hdmi_of_match,
+ .suppress_bind_attrs = true,
},
};
OpenPOWER on IntegriCloud