Re: [RESEND PATCH v3 1/2] acpi: thermal: initialize tz_enabled to 1

2018-02-27 Thread Zhang Rui
On Tue, 2018-02-27 at 17:17 +0100, Rafael J. Wysocki wrote: > On Mon, Feb 26, 2018 at 3:41 PM, Enric Balletbo i Serra > wrote: > > > > From: Sameer Nanda > > > > In the acpi_thermal_add path, acpi_thermal_get_info gets called > > before > >

Re: [RESEND PATCH v3 1/2] acpi: thermal: initialize tz_enabled to 1

2018-02-27 Thread Zhang Rui
On Tue, 2018-02-27 at 17:17 +0100, Rafael J. Wysocki wrote: > On Mon, Feb 26, 2018 at 3:41 PM, Enric Balletbo i Serra > wrote: > > > > From: Sameer Nanda > > > > In the acpi_thermal_add path, acpi_thermal_get_info gets called > > before > > acpi_thermal_register_thermal_zone.  Since tz_enabled

Re: [RESEND PATCH v3 1/2] acpi: thermal: initialize tz_enabled to 1

2018-02-27 Thread Rafael J. Wysocki
On Mon, Feb 26, 2018 at 3:41 PM, Enric Balletbo i Serra wrote: > From: Sameer Nanda > > In the acpi_thermal_add path, acpi_thermal_get_info gets called before > acpi_thermal_register_thermal_zone. Since tz_enabled was getting set to > 1 only in

Re: [RESEND PATCH v3 1/2] acpi: thermal: initialize tz_enabled to 1

2018-02-27 Thread Rafael J. Wysocki
On Mon, Feb 26, 2018 at 3:41 PM, Enric Balletbo i Serra wrote: > From: Sameer Nanda > > In the acpi_thermal_add path, acpi_thermal_get_info gets called before > acpi_thermal_register_thermal_zone. Since tz_enabled was getting set to > 1 only in acpi_thermal_register_thermal_zone,

[RESEND PATCH v3 1/2] acpi: thermal: initialize tz_enabled to 1

2018-02-26 Thread Enric Balletbo i Serra
From: Sameer Nanda In the acpi_thermal_add path, acpi_thermal_get_info gets called before acpi_thermal_register_thermal_zone. Since tz_enabled was getting set to 1 only in acpi_thermal_register_thermal_zone, acpi_thermal_get_info ended up disabling thermal polling. Moved

[RESEND PATCH v3 1/2] acpi: thermal: initialize tz_enabled to 1

2018-02-26 Thread Enric Balletbo i Serra
From: Sameer Nanda In the acpi_thermal_add path, acpi_thermal_get_info gets called before acpi_thermal_register_thermal_zone. Since tz_enabled was getting set to 1 only in acpi_thermal_register_thermal_zone, acpi_thermal_get_info ended up disabling thermal polling. Moved setting of tz_enabled

Re: [PATCH v3 1/2] acpi: thermal: initialize tz_enabled to 1

2017-12-20 Thread Enric Balletbo Serra
Hi Rui, 2017-07-04 3:43 GMT+02:00 Zhang Rui : > On Mon, 2017-07-03 at 23:08 +0200, Rafael J. Wysocki wrote: >> On Mon, Jul 3, 2017 at 10:00 AM, Enric Balletbo i Serra >> wrote: >> > >> > From: Sameer Nanda >> > >> > In the

Re: [PATCH v3 1/2] acpi: thermal: initialize tz_enabled to 1

2017-12-20 Thread Enric Balletbo Serra
Hi Rui, 2017-07-04 3:43 GMT+02:00 Zhang Rui : > On Mon, 2017-07-03 at 23:08 +0200, Rafael J. Wysocki wrote: >> On Mon, Jul 3, 2017 at 10:00 AM, Enric Balletbo i Serra >> wrote: >> > >> > From: Sameer Nanda >> > >> > In the acpi_thermal_add path, acpi_thermal_get_info gets called >> > before >>

Re: [PATCH v3 1/2] acpi: thermal: initialize tz_enabled to 1

2017-07-03 Thread Zhang Rui
On Mon, 2017-07-03 at 23:08 +0200, Rafael J. Wysocki wrote: > On Mon, Jul 3, 2017 at 10:00 AM, Enric Balletbo i Serra > wrote: > > > > From: Sameer Nanda > > > > In the acpi_thermal_add path, acpi_thermal_get_info gets called > > before > >

Re: [PATCH v3 1/2] acpi: thermal: initialize tz_enabled to 1

2017-07-03 Thread Zhang Rui
On Mon, 2017-07-03 at 23:08 +0200, Rafael J. Wysocki wrote: > On Mon, Jul 3, 2017 at 10:00 AM, Enric Balletbo i Serra > wrote: > > > > From: Sameer Nanda > > > > In the acpi_thermal_add path, acpi_thermal_get_info gets called > > before > > acpi_thermal_register_thermal_zone.  Since tz_enabled

Re: [PATCH v3 1/2] acpi: thermal: initialize tz_enabled to 1

2017-07-03 Thread Rafael J. Wysocki
On Mon, Jul 3, 2017 at 10:00 AM, Enric Balletbo i Serra wrote: > From: Sameer Nanda > > In the acpi_thermal_add path, acpi_thermal_get_info gets called before > acpi_thermal_register_thermal_zone. Since tz_enabled was getting set to > 1 only in

Re: [PATCH v3 1/2] acpi: thermal: initialize tz_enabled to 1

2017-07-03 Thread Rafael J. Wysocki
On Mon, Jul 3, 2017 at 10:00 AM, Enric Balletbo i Serra wrote: > From: Sameer Nanda > > In the acpi_thermal_add path, acpi_thermal_get_info gets called before > acpi_thermal_register_thermal_zone. Since tz_enabled was getting set to > 1 only in acpi_thermal_register_thermal_zone,

[PATCH v3 1/2] acpi: thermal: initialize tz_enabled to 1

2017-07-03 Thread Enric Balletbo i Serra
From: Sameer Nanda In the acpi_thermal_add path, acpi_thermal_get_info gets called before acpi_thermal_register_thermal_zone. Since tz_enabled was getting set to 1 only in acpi_thermal_register_thermal_zone, acpi_thermal_get_info ended up disabling thermal polling. Moved

[PATCH v3 1/2] acpi: thermal: initialize tz_enabled to 1

2017-07-03 Thread Enric Balletbo i Serra
From: Sameer Nanda In the acpi_thermal_add path, acpi_thermal_get_info gets called before acpi_thermal_register_thermal_zone. Since tz_enabled was getting set to 1 only in acpi_thermal_register_thermal_zone, acpi_thermal_get_info ended up disabling thermal polling. Moved setting of tz_enabled