]> git.karo-electronics.de Git - linux-beck.git/blobdiff - arch/arm/plat-omap/omap_device.c
OMAP: omap_device: use UINT_MAX for default wakeup latency limit
[linux-beck.git] / arch / arm / plat-omap / omap_device.c
index bb16e624a557aabbeea7ee8d952b490acbea2678..54fe0a2f0b24f796f84981537a6dafcbe87500dd 100644 (file)
@@ -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 = UINT_MAX;
        od->_state = OMAP_DEVICE_STATE_ENABLED;
 
        return ret;