Re: [PATCH] thermal: Fix binding problem when there is thermal zone params

2013-11-05 Thread Wei Ni
On 11/06/2013 01:29 PM, Zhang Rui wrote: > On Fri, 2013-10-18 at 18:03 +0800, Wei Ni wrote: >> @@ -247,7 +247,7 @@ static void bind_cdev(struct thermal_cooling_device >> *cdev) >> if (!pos->tzp && !pos->ops->bind) >> continue; >> >> -if (!pos->tzp &&

Re: [PATCH] thermal: Fix binding problem when there is thermal zone params

2013-11-05 Thread Zhang Rui
On Fri, 2013-10-18 at 18:03 +0800, Wei Ni wrote: > The thermal zone params can be used to set governor > to specific thermal governor for thermal zone device. > But if the thermal zone params has only governor name > without thermal bind params, then the thermal zone device > will not be binding to

[PATCH] thermal: Fix binding problem when there is thermal zone params

2013-10-18 Thread Wei Ni
The thermal zone params can be used to set governor to specific thermal governor for thermal zone device. But if the thermal zone params has only governor name without thermal bind params, then the thermal zone device will not be binding to cooling device. Because tz->ops->bind operator is not invo