diff options
author | Axel Haslam <axelhaslam@ti.com> | 2011-05-25 19:56:14 -0500 |
---|---|---|
committer | Nishanth Menon <nm@ti.com> | 2011-06-13 16:37:24 -0500 |
commit | 2ede577fe5da5ed0d1082ffa7ac357f8b1e301b4 (patch) | |
tree | 14fe0b5066f91d07b07c4ca399266daef7372a02 /arch/arm/plat-omap/include/plat/omap-serial.h | |
parent | 6aedc384ee55768007c854b9e9e39f2c248084a4 (diff) | |
download | kernel_samsung_tuna-2ede577fe5da5ed0d1082ffa7ac357f8b1e301b4.zip kernel_samsung_tuna-2ede577fe5da5ed0d1082ffa7ac357f8b1e301b4.tar.gz kernel_samsung_tuna-2ede577fe5da5ed0d1082ffa7ac357f8b1e301b4.tar.bz2 |
OMAP: UART: introduce is active function and enable idle timer
The idle timer function set the can_sleep flag
which will eventually decide if the clocks can be cut,
and let the power domain to hit low states.
Is active is needed to prevent us from cutting
clocks when there is activity going on the uart.
Signed-off-by: Axel Haslam <axelhaslam@ti.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/omap-serial.h')
-rw-r--r-- | arch/arm/plat-omap/include/plat/omap-serial.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/omap-serial.h b/arch/arm/plat-omap/include/plat/omap-serial.h index 2682043..71e238e 100644 --- a/arch/arm/plat-omap/include/plat/omap-serial.h +++ b/arch/arm/plat-omap/include/plat/omap-serial.h @@ -112,5 +112,6 @@ struct uart_omap_port { char name[20]; unsigned long port_activity; }; +int omap_uart_active(int num, u32 timeout); #endif /* __OMAP_SERIAL_H__ */ |