Re: [patch for 2.6.29? 1/1] acer-wmi: fix regression in backlight detection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
On Wednesday 04 March 2009 21:07:34 akpm@xxxxxxxxxxxxxxxxxxxx wrote:> From: Michael Spang <mspang@xxxxxxxxxxxxxxxxxxx>> > Currently we disable the Acer WMI backlight device if there is no ACPI> backlight device.  As a result, we end up with no backlight device at all.>  We should instead disable it if there is an ACPI device, as the other> laptop drivers do.  This regression was introduced in febf2d9 ("Acer-WMI:> fingers off backlight if video.ko is serving this functionality").> > Each laptop driver with backlight support got a similar change around> febf2d9.  The changes to the other drivers look correct; see e.g. > a598c82f for a similar but correct change.  The regression is also in> 2.6.28.Len, can you apply this one, please.
> Signed-off-by: Michael Spang <mspang@xxxxxxxxxxxxxxxxxxx>> Cc: Thomas Renninger <trenn@xxxxxxx>Signed-off-by: Thomas Renninger <trenn@xxxxxxx>
No idea about stable policy, whether you have to wait for a mainline commitfirst or if you just push such typos. Here is the patch against 2.6.28,there the bug got introduced (file moved).
Thanks,
     Thomas
--- drivers/misc/acer-wmi.c |    2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6/drivers/misc/acer-wmi.c===================================================================--- linux-2.6.orig/drivers/misc/acer-wmi.c+++ linux-2.6/drivers/misc/acer-wmi.c@@ -1297,7 +1297,7 @@ static int __init acer_wmi_init(void)  	set_quirks(); -	if (!acpi_video_backlight_support() && has_cap(ACER_CAP_BRIGHTNESS)) {+	if (acpi_video_backlight_support() && has_cap(ACER_CAP_BRIGHTNESS)) { 		interface->capability &= ~ACER_CAP_BRIGHTNESS; 		printk(ACER_INFO "Brightness must be controlled by " 		       "generic video driver\n");??و?{.nا+?????­?+%?ث??ى????w??{.nا+????{???)????????}???ئ zغ&j:+v???????w???ـ2????و­غ&?)???a?غ???ـz؟لz????+???????j??wو?f


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux