Re: [PATCH] thermal: fix the casting issue for long type

2015-02-26 Thread Leo Yan
hi Punit, On Thu, Feb 26, 2015 at 10:24:30AM +, Punit Agrawal wrote: > Hi Leo, > > Leo Yan writes: > > > When enable the thermal on arm64 platform, it will report failure when > > call function *thermal_zone_bind_cooling_device()*. > > > > The failure is caused by casting. If dtb specify

Re: [PATCH] thermal: fix the casting issue for long type

2015-02-26 Thread Punit Agrawal
Hi Leo, Leo Yan writes: > When enable the thermal on arm64 platform, it will report failure when > call function *thermal_zone_bind_cooling_device()*. > > The failure is caused by casting. If dtb specify the minimum cooling > state and maximum cooling state as THERMAL_NO_LIMIT, then variables >

Re: [PATCH] thermal: fix the casting issue for long type

2015-02-26 Thread Punit Agrawal
Hi Leo, Leo Yan leo@linaro.org writes: When enable the thermal on arm64 platform, it will report failure when call function *thermal_zone_bind_cooling_device()*. The failure is caused by casting. If dtb specify the minimum cooling state and maximum cooling state as THERMAL_NO_LIMIT,

Re: [PATCH] thermal: fix the casting issue for long type

2015-02-26 Thread Leo Yan
hi Punit, On Thu, Feb 26, 2015 at 10:24:30AM +, Punit Agrawal wrote: Hi Leo, Leo Yan leo@linaro.org writes: When enable the thermal on arm64 platform, it will report failure when call function *thermal_zone_bind_cooling_device()*. The failure is caused by casting. If dtb

[PATCH] thermal: fix the casting issue for long type

2015-02-25 Thread Leo Yan
When enable the thermal on arm64 platform, it will report failure when call function *thermal_zone_bind_cooling_device()*. The failure is caused by casting. If dtb specify the minimum cooling state and maximum cooling state as THERMAL_NO_LIMIT, then variables "lower" and "upper" equal to

[PATCH] thermal: fix the casting issue for long type

2015-02-25 Thread Leo Yan
When enable the thermal on arm64 platform, it will report failure when call function *thermal_zone_bind_cooling_device()*. The failure is caused by casting. If dtb specify the minimum cooling state and maximum cooling state as THERMAL_NO_LIMIT, then variables lower and upper equal to