projects
/
platform
/
kernel
/
kernel-mfld-blackbay.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
|
history
diff --git
a/arch/arm/plat-omap/omap_device.c
b/arch/arm/plat-omap/omap_device.c
index
bb16e62
..
54fe0a2
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;