[PATCH] Platform: Fix error path in samsung-laptop init

2011-08-23 Thread David Herrmann
samsung_init() should not return success if not all devices are initialized. Otherwise, samsung_exit() will dereference sdev NULL pointers and others. Signed-off-by: David Herrmann dh.herrm...@googlemail.com --- drivers/platform/x86/samsung-laptop.c |3 +-- 1 files changed, 1 insertions(+),

[PATCH] Platform: Brightness quirk for samsung laptop driver

2011-08-23 Thread David Herrmann
From: Jason Stubbs jasonbstu...@gmail.com On some samsung laptops the brightness regulation works slightly different. All SABI commands except for set_brightness work as expected. The behaviour of set_brightness is as follows: - Setting a new brightness will only step one level toward the new

[PATCH]: Check if acpi already handle backlight power in 'ideapad_backlight_notify_power' to avoid a page fault

2011-08-23 Thread René Bolldorf
Hi Matthew, this patch avoid a page fault in the ideapad-laptop extras when turning the backlight power on or off. Signed-off-by: Rene Bolldorf xsec...@googlemail.com --- diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c index 0c59541..0766a9f 100644 ---

Re: [Bugme-new] [Bug 40582] New: acer_wmi kernel module is prevent of correct work of Acer AO 721

2011-08-23 Thread Joey Lee
於 二,2011-08-23 於 14:29 -0700,Andrew Morton 提到: (switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). On Fri, 5 Aug 2011 09:02:45 GMT bugzilla-dae...@bugzilla.kernel.org wrote: https://bugzilla.kernel.org/show_bug.cgi?id=40582

Re: [Bugme-new] [Bug 40582] New: acer_wmi kernel module is prevent of correct work of Acer AO 721

2011-08-23 Thread Andrew Morton
On Tue, 23 Aug 2011 20:51:00 -0600 Joey Lee j...@novell.com wrote: ___ __2011-08-23 ___ 14:29 -0700___Andrew Morton _ (switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). On Fri, 5 Aug 2011 09:02:45 GMT

Hi Rene,

2011-08-23 Thread Ike Panhc
Nice done. Thanks for finding the bug. I write most part of ideapad-laptop.c though the maintainer is still Matthew. I think the patch attached below is much simple and we can avoid unnecessary read_ec_data if blightdev is not set. Since you are the one who find the bug and have the first patch,