linux/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
input Input: drv260x - add TI drv260x haptics driver 2014-08-19 22:19:28 -07:00
interrupt-controller
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
reset clk: qcom: Add support for APQ8064 multimedia clocks 2014-07-15 16:39:03 -07:00
reset-controller
soc
sound ASoC: cs35l32: Add support for CS35L32 Boosted Amplifier 2014-08-16 17:03:22 -05:00
spmi
thermal thermal: Fix cdev registration with THERMAL_NO_LIMIT on 64bit 2014-12-10 11:11:00 -04:00