Re: [PATCH] acpi: thermal: honor "mode" sysfs file setting

2017-06-29 Thread Enric Balletbo Serra
Hi Rui, 2017-06-29 7:19 GMT+02:00 Zhang Rui : > On Thu, 2017-06-29 at 00:14 +0200, Rafael J. Wysocki wrote: >> On Thursday, June 22, 2017 02:45:42 PM Enric Balletbo i Serra wrote: >> > >> > From: Sameer Nanda >> > >> > Under each thermal zone there is a

Re: [PATCH] acpi: thermal: honor "mode" sysfs file setting

2017-06-29 Thread Enric Balletbo Serra
Hi Rui, 2017-06-29 7:19 GMT+02:00 Zhang Rui : > On Thu, 2017-06-29 at 00:14 +0200, Rafael J. Wysocki wrote: >> On Thursday, June 22, 2017 02:45:42 PM Enric Balletbo i Serra wrote: >> > >> > From: Sameer Nanda >> > >> > Under each thermal zone there is a file called "mode". Writing >> > enabled

Re: [PATCH] acpi: thermal: honor "mode" sysfs file setting

2017-06-28 Thread Zhang Rui
On Thu, 2017-06-29 at 00:14 +0200, Rafael J. Wysocki wrote: > On Thursday, June 22, 2017 02:45:42 PM Enric Balletbo i Serra wrote: > > > > From: Sameer Nanda > > > > Under each thermal zone there is a file called "mode". Writing > > enabled > > or disabled to this file

Re: [PATCH] acpi: thermal: honor "mode" sysfs file setting

2017-06-28 Thread Zhang Rui
On Thu, 2017-06-29 at 00:14 +0200, Rafael J. Wysocki wrote: > On Thursday, June 22, 2017 02:45:42 PM Enric Balletbo i Serra wrote: > > > > From: Sameer Nanda > > > > Under each thermal zone there is a file called "mode". Writing > > enabled > > or disabled to this file allows a given thermal

Re: [PATCH] acpi: thermal: honor "mode" sysfs file setting

2017-06-28 Thread Rafael J. Wysocki
On Thursday, June 22, 2017 02:45:42 PM Enric Balletbo i Serra wrote: > From: Sameer Nanda > > Under each thermal zone there is a file called "mode". Writing enabled > or disabled to this file allows a given thermal zone to be enabled or > disabled. Honor writes to this file

Re: [PATCH] acpi: thermal: honor "mode" sysfs file setting

2017-06-28 Thread Rafael J. Wysocki
On Thursday, June 22, 2017 02:45:42 PM Enric Balletbo i Serra wrote: > From: Sameer Nanda > > Under each thermal zone there is a file called "mode". Writing enabled > or disabled to this file allows a given thermal zone to be enabled or > disabled. Honor writes to this file by enabling or

[PATCH] acpi: thermal: honor "mode" sysfs file setting

2017-06-22 Thread Enric Balletbo i Serra
From: Sameer Nanda Under each thermal zone there is a file called "mode". Writing enabled or disabled to this file allows a given thermal zone to be enabled or disabled. Honor writes to this file by enabling or disabling the polling timers. With this change, in the

[PATCH] acpi: thermal: honor "mode" sysfs file setting

2017-06-22 Thread Enric Balletbo i Serra
From: Sameer Nanda Under each thermal zone there is a file called "mode". Writing enabled or disabled to this file allows a given thermal zone to be enabled or disabled. Honor writes to this file by enabling or disabling the polling timers. With this change, in the acpi_thermal_add path,