Re: [PATCH 1/1] thermal: fix default governor assignment

2014-02-26 Thread Zhang Rui
On Tue, 2014-01-14 at 14:45 -0400, Eduardo Valentin wrote: > When registering a thermal zone, passing an invalid > .governor_name via struct thermal_zone_params may > create a thermal zone without a governor, when it > is supposed to be the default governor. > > This patch fixes this issue by assi

[PATCH 1/1] thermal: fix default governor assignment

2014-01-14 Thread Eduardo Valentin
When registering a thermal zone, passing an invalid .governor_name via struct thermal_zone_params may create a thermal zone without a governor, when it is supposed to be the default governor. This patch fixes this issue by assigning the default governor, whenever the zone has a governor set to NUL