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(+),
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
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
---
於 二,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
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
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,