Re: [PATCH] thermal: of-thermal: Fix setting of set_emul_temp hook

2016-06-26 Thread Keerthy
On Friday 10 June 2016 11:57 AM, Keerthy wrote: On Thursday 02 June 2016 02:24 PM, Keerthy wrote: Currently thermal zone set_emul_temp is set unconditionally with of_thermal_set_emul_temp function. Set this only if the set_emul_temp hook is provided for thermal_zone_of_device_ops. This fixe

Re: [PATCH] thermal: of-thermal: Fix setting of set_emul_temp hook

2016-06-09 Thread Keerthy
On Thursday 02 June 2016 02:24 PM, Keerthy wrote: Currently thermal zone set_emul_temp is set unconditionally with of_thermal_set_emul_temp function. Set this only if the set_emul_temp hook is provided for thermal_zone_of_device_ops. This fixes emul_temp failures on platforms for which set_emu

[PATCH] thermal: of-thermal: Fix setting of set_emul_temp hook

2016-06-02 Thread Keerthy
Currently thermal zone set_emul_temp is set unconditionally with of_thermal_set_emul_temp function. Set this only if the set_emul_temp hook is provided for thermal_zone_of_device_ops. This fixes emul_temp failures on platforms for which set_emul_temp hook is not populated. Fixes: "184a4bf623f (th