]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: armada: Allow to specify an 'inverted readout' sensor
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Tue, 6 May 2014 16:59:49 +0000 (13:59 -0300)
committerZhang Rui <rui.zhang@intel.com>
Thu, 15 May 2014 09:12:48 +0000 (17:12 +0800)
commitc1e65ef2ecb58a847c64ff4745bcbbcfba8983b6
tree62fb40a3d929a24e18aa4272ec7a24df39405df6
parent91265bf537799e03c800065f24c8e2b714ce4e1b
thermal: armada: Allow to specify an 'inverted readout' sensor

In order to support inverted-formula thermal sensor readout, this commit
introduces an 'inverted' field in the SoC-specific structure which
allows to specify an inversion of the temperature formula.

Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/armada_thermal.c