[PATCH 2/2] asus-nb-wmi: Add wapf4 quirk for the X550CL

2014-07-14 Thread Hans de Goede
As reported here: https://bugs.launchpad.net/bugs/1277959 the X550CL needs wapf=4 too. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/platform/x86/asus-nb-wmi.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/platform/x86/asus-nb-wmi.c

[PATCH 1/2] asus-nb-wmi.c: Rename x401u quirk to wapf4

2014-07-14 Thread Hans de Goede
The actual x401u does not use the so named x401u quirk but the x55u quirk. All that the x401u quirk does it setting wapf to 4, so rename it to wapf4 to stop the confusion. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/platform/x86/asus-nb-wmi.c | 24 1

[PATCH] drivers/platform/x86/thinkpad_acpi.c: don't test unsigned int for negativity

2014-07-14 Thread Andrey Utkin
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=80231 Reported-by: David Binderman dcb...@hotmail.com Signed-off-by: Andrey Utkin andrey.krieger.ut...@gmail.com --- drivers/platform/x86/thinkpad_acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git