PM / Runtime: Fix runtime accounting calculation error
authorvenu byravarasu <vbyravarasu@nvidia.com>
Thu, 3 Nov 2011 09:12:14 +0000 (10:12 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 4 Nov 2011 21:28:10 +0000 (22:28 +0100)
commitdef0c0a37d02820497fcd5a74b6cc93dbce5dc06
tree4bfa6ef68b49887f3948abffbbd49d3175b16727
parente9db50b839c592fcd22952d7f1dccbd0a56da57d
PM / Runtime: Fix runtime accounting calculation error

With delta type being int, its value is made zero
for all values of now > 0x80000000.
Hence fixing it.

Signed-off-by: venu byravarasu <vbyravarasu@nvidia.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/base/power/runtime.c