Re: [PATCH v2 1/2] acpi: thermal: update thermal_zone after enable the driver.

2017-06-29 Thread Zhang Rui
On Thu, 2017-06-29 at 18:50 +0200, Enric Balletbo i Serra wrote: > Use thermal_set_mode instead of just set the tz_enable variable when > enabling the ACPI thermal driver. The purpose of this change is > trigger > a thermal_zone_device_update when driver switches from disabled to > enabled mode so

Re: [PATCH v2 1/2] acpi: thermal: update thermal_zone after enable the driver.

2017-06-29 Thread Zhang Rui
On Thu, 2017-06-29 at 18:50 +0200, Enric Balletbo i Serra wrote: > Use thermal_set_mode instead of just set the tz_enable variable when > enabling the ACPI thermal driver. The purpose of this change is > trigger > a thermal_zone_device_update when driver switches from disabled to > enabled mode so

[PATCH v2 1/2] acpi: thermal: update thermal_zone after enable the driver.

2017-06-29 Thread Enric Balletbo i Serra
Use thermal_set_mode instead of just set the tz_enable variable when enabling the ACPI thermal driver. The purpose of this change is trigger a thermal_zone_device_update when driver switches from disabled to enabled mode so thermal_zone data is up-to-date. Signed-off-by: Enric Balletbo i Serra

[PATCH v2 1/2] acpi: thermal: update thermal_zone after enable the driver.

2017-06-29 Thread Enric Balletbo i Serra
Use thermal_set_mode instead of just set the tz_enable variable when enabling the ACPI thermal driver. The purpose of this change is trigger a thermal_zone_device_update when driver switches from disabled to enabled mode so thermal_zone data is up-to-date. Signed-off-by: Enric Balletbo i Serra