diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-10-16 08:54:25 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-10-22 10:07:07 +0200 |
commit | 422ccbd57170d18cfd9d4c0cdbdd4603929fc51b (patch) | |
tree | 122a6c2cd718492b86dc0c2537a65bd8d5a00304 /drivers/video/fbdev/omap2/displays-new/encoder-tfp410.c | |
parent | OMAPFB: add missing MODULE_ALIAS() (diff) | |
download | linux-422ccbd57170d18cfd9d4c0cdbdd4603929fc51b.tar.xz linux-422ccbd57170d18cfd9d4c0cdbdd4603929fc51b.zip |
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/displays-new/encoder-tfp410.c')
-rw-r--r-- | drivers/video/fbdev/omap2/displays-new/encoder-tfp410.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/omap2/displays-new/encoder-tfp410.c b/drivers/video/fbdev/omap2/displays-new/encoder-tfp410.c index b4e9a42a79e6..47ee7cdee1c5 100644 --- a/drivers/video/fbdev/omap2/displays-new/encoder-tfp410.c +++ b/drivers/video/fbdev/omap2/displays-new/encoder-tfp410.c @@ -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, }, }; |