Re: [PATCH 5/5] thermal: rockchip: handle the set_trips without the trip points.

2016-11-22 Thread Brian Norris
On Tue, Nov 22, 2016 at 08:34:48PM +0800, Caesar Wang wrote: > In some cases, some sensors didn't need the trip points, the > set_trips will return {-INT_MAX, INT_MAX} to trigger thermal alarm. > > Signed-off-by: Caesar Wang > --- > > drivers/thermal/rockchip_thermal.c | 13 + > 1 f

[PATCH 5/5] thermal: rockchip: handle the set_trips without the trip points.

2016-11-22 Thread Caesar Wang
In some cases, some sensors didn't need the trip points, the set_trips will return {-INT_MAX, INT_MAX} to trigger thermal alarm. Signed-off-by: Caesar Wang --- drivers/thermal/rockchip_thermal.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/thermal/rockchip_thermal.