Latest ThinkPad models use a new string pattern of BIOS version,
thinkpad_acpi won't be loaded automatically without this fix.
Signed-off-by: Adam Lee
---
drivers/platform/x86/thinkpad_acpi.c | 26 --
1 file changed, 20 insertions(+), 6 deletions(-)
diff --git a/dr
ce here (compared to above)
> is an additional leading digit and the subsequent string indices?
>
> Seems to me this could be done fairly easily in the same block with only a
> minor
> adjustment at the beginning and the use of an incrementing index. Should be
> cleaner than
Latest ThinkPad models use a new string pattern of BIOS version,
thinkpad_acpi won't be loaded automatically without this fix.
Signed-off-by: Adam Lee
---
drivers/platform/x86/thinkpad_acpi.c | 25 +++--
1 file changed, 23 insertions(+), 2 deletions(-)
diff --git a/dr
e LEDs",
I will drop [PATCH 3/3] to discussion again when I got the documentation.
--
Regards,
Adam Lee
Hardware Enablement
--
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/window
Some new Lenovo or ThinkPad laptops don't have EC controllable LEDs.
This patch adds their quirks.
Signed-off-by: Adam Lee
---
drivers/platform/x86/thinkpad_acpi.c |6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/platform/x86/thinkpad_acpi.c
b/drivers/platfor
Some new Lenovo or ThinkPad laptops don't have EC controllable LEDs,
their LED quirks are 0. This patch set led_supported=TPACPI_LED_NONE
when quirk equals 0.
Signed-off-by: Adam Lee
---
drivers/platform/x86/thinkpad_acpi.c | 13 ++---
1 file changed, 10 insertions(+), 3 dele
Some new Lenovo or ThinkPad laptops don't have EC controllable LEDs,
they control LEDs by BIOS functions, and return ACPI Warning while
operating LEDs by EC.
These patches set some quirks, optimize led_init() and led_write() to
avoid that warning.
Adam Lee (3):
thinkpad_acpi: return -
On Fri, Jun 07, 2013 at 01:22:39PM +, Matthew Garrett wrote:
> On Fri, 2013-06-07 at 16:20 +0800, Adam Lee wrote:
> > Some new Lenovo or ThinkPad laptops don't have EC controllable LEDs.
> > This patch adds their quirks.
>
> Can you detect this case? If this is a ne
On Fri, Jun 07, 2013 at 10:53:50AM +0200, Bjørn Mork wrote:
> Adam Lee writes:
>
> > --- a/drivers/platform/x86/thinkpad_acpi.c
> > +++ b/drivers/platform/x86/thinkpad_acpi.c
> > @@ -5401,9 +5401,12 @@ static int led_write(char *buf)
> > return -ENO
Not all 0-15 LEDs are available for all models, sometimes it's even not
safe. This patch return -NODEV while operating uninitialized LEDs.
Signed-off-by: Adam Lee
---
drivers/platform/x86/thinkpad_acpi.c |5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/pla
Not all 0-15 LEDs are available for all models, sometimes it's even not
safe. This patch return -NODEV while operating uninitialized LEDs.
Signed-off-by: Adam Lee
---
drivers/platform/x86/thinkpad_acpi.c |5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/pla
Not all 0-15 LEDs are available for all models, sometimes it's even not
safe. This patch return -NODEV while operating uninitialized LEDs.
Signed-off-by: Adam Lee
---
drivers/platform/x86/thinkpad_acpi.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/dr
12 matches
Mail list logo