projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a470c42
)
OMAP: omap_device: use UINT_MAX for default wakeup latency limit
author
Kevin Hilman
<khilman@deeprootsystems.com>
Tue, 8 Dec 2009 23:34:22 +0000
(16:34 -0700)
committer
paul
<paul@twilight.(none)>
Sat, 12 Dec 2009 00:00:44 +0000
(17:00 -0700)
The _dev_wakeup_lat_limit field of struct omap_device is u32, so use
UINT_MAX instead of INT_MAX for the default maximum.
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/plat-omap/omap_device.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/plat-omap/omap_device.c
b/arch/arm/plat-omap/omap_device.c
index bb16e624a557aabbeea7ee8d952b490acbea2678..54fe0a2f0b24f796f84981537a6dafcbe87500dd 100644
(file)
--- a/
arch/arm/plat-omap/omap_device.c
+++ b/
arch/arm/plat-omap/omap_device.c
@@
-459,7
+459,7
@@
int omap_device_enable(struct platform_device *pdev)
ret = _omap_device_activate(od, IGNORE_WAKEUP_LAT);
od->dev_wakeup_lat = 0;
- od->_dev_wakeup_lat_limit = INT_MAX;
+ od->_dev_wakeup_lat_limit =
U
INT_MAX;
od->_state = OMAP_DEVICE_STATE_ENABLED;
return ret;