Re: [PATCH v5 1/5] thermal: Add support for hardware-tracked trip points

2016-06-21 Thread Zhang Rui
spective thermal zone. This will cause the trip points > to be updated again. > > If .set_trips is not implemented, the framework behaves as before. > > This patch is based on an earlier version from Mikko Perttunen > <mikko.perttu...@kapsi.fi> > > Signed-off-by: Sascha Hauer <

Re: [PATCH v5 0/5] Thermal: Support for hardware-tracked trip points

2016-06-21 Thread Zhang Rui
On 二, 2016-06-21 at 09:42 +0800, Caesar Wang wrote: > Do you have other ideas for the following patches? :-)  > Even if only took two weeks feel after a long time. > > 9157919 New  [v5,1/5] thermal: Add support for hardware- > tracked trip points > 9157917 New  [v5,2/5] thermal:

Re: [PATCH V4] thermal: Add cooling device's statistics in sysfs

2018-03-14 Thread Zhang Rui
On 二, 2018-03-13 at 15:02 +0800, Zhang Rui wrote: > Hi, Viresh, > > I will queue it for 4.17, with just one minor fix below. > I got the following warning from checkpatch.pl --- WARNING: please write a paragraph that describes the config symbol fully #147: FILE: dri

Re: [PATCH] thermal: core: fix emulation of subzero temps

2018-04-24 Thread Zhang Rui
On 一, 2018-04-23 at 10:53 -0700, Kevin DuBois wrote: > The current implementation casted away its sign. > It was also using '0' to disable emulation, but 0C is a valid > thermal reading. A large negative value (below absolute zero) now > disables the emulation. Makes sense to me. > > Test: Build