aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux-omap-pm-2.6.29/omap3-touchbook/screen-backlight-accessible-by-user.patch
diff options
context:
space:
mode:
authorKoen Kooi <k-kooi@ti.com>2009-09-30 10:26:42 +0200
committerKoen Kooi <koen@openembedded.org>2009-10-01 19:48:39 +0200
commit02b1862a3b96784cd8caeb5d86c331fa5bbc2b84 (patch)
tree5590c4f4da9f9923ab5b6a626a719ac662f4bc24 /recipes/linux/linux-omap-pm-2.6.29/omap3-touchbook/screen-backlight-accessible-by-user.patch
parent6e779f0d529fa60a4a322868766b3bba3832a622 (diff)
downloadopenembedded-02b1862a3b96784cd8caeb5d86c331fa5bbc2b84.tar.gz
omap kernels: sync with .dev
Omap kernels in .dev have seen a big number of improvements, the most notable change being the mem-hole issue being resolved. Like the u-boot change this also adds support for new machines Signed-off-by: Koen Kooi <k-kooi@ti.com> Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Acked-by: Philip Balister <philip@balister.org>
Diffstat (limited to 'recipes/linux/linux-omap-pm-2.6.29/omap3-touchbook/screen-backlight-accessible-by-user.patch')
-rw-r--r--recipes/linux/linux-omap-pm-2.6.29/omap3-touchbook/screen-backlight-accessible-by-user.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/linux/linux-omap-pm-2.6.29/omap3-touchbook/screen-backlight-accessible-by-user.patch b/recipes/linux/linux-omap-pm-2.6.29/omap3-touchbook/screen-backlight-accessible-by-user.patch
new file mode 100644
index 0000000000..14e0934468
--- /dev/null
+++ b/recipes/linux/linux-omap-pm-2.6.29/omap3-touchbook/screen-backlight-accessible-by-user.patch
@@ -0,0 +1,11 @@
+--- a/drivers/video/backlight/backlight.c 2009-07-17 12:20:05.000000000 -0700
++++ b/drivers/video/backlight/backlight.c 2009-07-17 12:20:46.000000000 -0700
+@@ -205,7 +205,7 @@
+
+ static struct device_attribute bl_device_attributes[] = {
+ __ATTR(bl_power, 0644, backlight_show_power, backlight_store_power),
+- __ATTR(brightness, 0644, backlight_show_brightness,
++ __ATTR(brightness, 0666, backlight_show_brightness,
+ backlight_store_brightness),
+ __ATTR(actual_brightness, 0444, backlight_show_actual_brightness,
+ NULL),