Re: [PATCH] thinkpad-acpi: Fix wrong assignment

2013-10-24 Thread Henrique de Moraes Holschuh
On Fri, 18 Oct 2013, Felipe Pena wrote: > In the thermal_init function when checking for thinkpad_id.ec_model, > the 'ta2' variable is being OR'd when acpi_ec_read call succeeds, > on fail it is setting 0 to 'ta1' variable instead. > > Signed-off-by: Felipe Pena NAK. ta1 == 0 implies malfunctio

[PATCH] thinkpad-acpi: Fix wrong assignment

2013-10-18 Thread Felipe Pena
In the thermal_init function when checking for thinkpad_id.ec_model, the 'ta2' variable is being OR'd when acpi_ec_read call succeeds, on fail it is setting 0 to 'ta1' variable instead. Signed-off-by: Felipe Pena --- drivers/platform/x86/thinkpad_acpi.c |2 +- 1 file changed, 1 insertion(+),