linux/drivers/video/omap2
Tomi Valkeinen 3825ce5a9b OMAPDSS: fix WARN_ON in 'alpha_blending_enabled' sysfs file
The code handling 'alpha_blending_enabled' sysfs file contains WARN_ONs
in case the feature is not supported on the current platform. Even
though only root can write to the file, anyone can read it, thus causing
the kernel to get tainted and printing an ugly warning.

Instead of having WARN_ONs, return a proper error if the feature is not
supported.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reported-by: Russell King - ARM Linux <linux@arm.linux.org.uk>
2013-08-29 16:43:47 +03:00
..
displays Various fbdev changes for 3.11 2013-07-09 15:51:32 -07:00
displays-new OMAPDSS: panels: add Kconfig comment 2013-06-17 14:33:21 +03:00
dss OMAPDSS: fix WARN_ON in 'alpha_blending_enabled' sysfs file 2013-08-29 16:43:47 +03:00
omapfb OMAPFB: use EPROBE_DEFER if default display is not present 2013-06-17 14:00:54 +03:00
Kconfig OMAPDSS: Add new TFP410 Encoder driver 2013-06-17 14:16:03 +03:00
Makefile OMAPDSS: Add new TFP410 Encoder driver 2013-06-17 14:16:03 +03:00
vrfb.c drivers/video/omap2: don't check resource with devm_ioremap_resource 2013-05-18 11:58:01 +02:00