linux-uconsole/include/dt-bindings
Punit Agrawal a940cb34fe thermal: Fix cdev registration with THERMAL_NO_LIMIT on 64bit
The size of unsigned long varies between 32 and 64 bit systems while
the size of phandle arguments is always 32 bits per parameter.

On 64-bit systems, cooling devices registered via of-thermal apis fail
to bind when the min/max cooling state is specified as
THERMAL_NO_LIMIT (-1UL) as there is a mis-match between the value read
from the device tree (32bit) and the pre-processor define (64bit).

As we're unlikely to need cooling states larger than 32 bits, and for
consistency with the size of phandle arguments, explicitly limit
THERMAL_NO_LIMIT to 32 bits.

Reported-by: Hyungwoo Yang <hwoo.yang@gmail.com>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2014-12-10 11:11:00 -04:00
..
clk Merge branch 'for-v3.16/ti-clk-drv' of github.com:t-kristo/linux-pm into clk-next 2014-06-10 16:53:25 -07:00
clock clk: qcom: Fix duplicate rbcpr clock name 2014-11-17 10:40:42 -08:00
dma dmaengine: add device tree binding documentation for the nbpfaxi driver 2014-08-04 13:27:35 +05:30
gpio ARM: tegra: add port FF to GPIO IDs 2013-12-16 14:09:16 -07:00
input Input: drv260x - add TI drv260x haptics driver 2014-08-19 22:19:28 -07:00
interrupt-controller ARM: dt: create a DT header for the GIC 2013-04-05 12:23:24 -06:00
mfd == Changes to existing drivers == 2014-08-07 17:17:39 -07:00
phy phy: miphy365x: Add MiPHY365x header file for DT x Driver defines 2014-07-22 12:23:44 +05:30
pinctrl pinctrl: dra: dt-bindings: Fix output pull up/down 2014-11-10 14:29:20 -08:00
pwm pwm: Add PWM polarity flag macro for DT 2013-09-03 13:08:09 +02:00
reset clk: qcom: Add support for APQ8064 multimedia clocks 2014-07-15 16:39:03 -07:00
reset-controller driver: reset: sti: add keyscan for stih416 2014-05-21 14:27:05 +02:00
soc soc: qcom: Add device tree binding for GSBI 2014-05-23 11:38:53 -05:00
sound ASoC: cs35l32: Add support for CS35L32 Boosted Amplifier 2014-08-16 17:03:22 -05:00
spmi spmi: Linux driver framework for SPMI 2014-02-15 11:55:28 -08:00
thermal thermal: Fix cdev registration with THERMAL_NO_LIMIT on 64bit 2014-12-10 11:11:00 -04:00