diff options
author | Jonghwa Lee <jonghwa3.lee@samsung.com> | 2014-10-10 17:54:37 +0900 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 12:00:58 +0900 |
commit | aac9250776050db77de3ff189addb4d0c275fcd1 (patch) | |
tree | efab74a21ba50a168be29bc62ed0eb163158cd1b /packaging | |
parent | 7270ba4313e62cdcdf4858865b8f49afb20e05a6 (diff) | |
download | linux-3.10-aac9250776050db77de3ff189addb4d0c275fcd1.tar.gz linux-3.10-aac9250776050db77de3ff189addb4d0c275fcd1.tar.bz2 linux-3.10-aac9250776050db77de3ff189addb4d0c275fcd1.zip |
power: charger-manager: Prevent ktimer's nsecs value exceeds its size.
When charger-manager sets alarmtimer, it has used nanoseconds converted
from polling period which is in milliseconds. However ktimer's nanoseconds
is limited to represent as size of unsinged long type, and the previous
use often exceeds its limitation. It fixes to divide target timer period
into seconds part and remains in nanoseconds to prevent abnormal timer period
is set.
Change-Id: I7a5cad5569505c901a4822bbd7a4ad0fa149570b
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Diffstat (limited to 'packaging')
0 files changed, 0 insertions, 0 deletions