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

2016-11-23 Thread Brian Norris
On Wed, Nov 23, 2016 at 10:29:34PM +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 > --- > > Changes in v2: > - Fixes something as Brian comments on > h

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

2016-11-23 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 --- Changes in v2: - Fixes something as Brian comments on https://patchwork.kernel.org/patch/9440989. Changes in v1: None drivers/therm