summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/serial-omap.h
diff options
context:
space:
mode:
authorVladimir Tsunaev <vladimirt@motorola.com>2014-06-30 12:33:40 -0400
committerVladimir Tsunaev <vladimirt@motorola.com>2014-06-30 15:20:14 -0400
commit4ef0c4d2561955eeafc1585627736c561ea65bb7 (patch)
tree66cdef689301dd5dda29681514f0a6b0f54be04d /include/linux/platform_data/serial-omap.h
parent6bf795f69fc73cd5c0834256cb1c0b212eaee14d (diff)
downloadolio-linux-3.10-4ef0c4d2561955eeafc1585627736c561ea65bb7.tar.xz
olio-linux-3.10-4ef0c4d2561955eeafc1585627736c561ea65bb7.zip
IKXCLOCK-2630 serial: Failed to hit offmode due to UART1 being non-idle
When c55 driver is changing pad configuration than PRCM detects wake event from pad and it happens after PRCM get suspended Evidence of this behavior is line: "omap34xx_do_sram_idle: OMAP3_PRM_IRQENABLE_MPU_OFFSET 0x00000000" and status bit in: PRM__CORE (48004a00) b0 => 0x00002000 0x00000000) As result event still pending and system can not get into requested low power state. UART1 is not wakeup-capable and to avoid this false wake ups the wakeup event has to be disabled in all levels (uart module and PRCM module). Change-Id: I9aba9503f91ddd15965d23755f3293c0f333adc2 Signed-off-by: Vladimir Tsunaev <vladimirt@motorola.com>
Diffstat (limited to 'include/linux/platform_data/serial-omap.h')
-rw-r--r--include/linux/platform_data/serial-omap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/serial-omap.h b/include/linux/platform_data/serial-omap.h
index 838132af5d8..a2f2a8c45a2 100644
--- a/include/linux/platform_data/serial-omap.h
+++ b/include/linux/platform_data/serial-omap.h
@@ -49,6 +49,7 @@ struct omap_uart_port_info {
void (*enable_wakeup)(struct device *, bool);
};
+extern void omap_uart_remove_wakeup(struct device *dev);
extern void omap_uart_enable_wakeup(struct device *dev, bool enable);
extern int omap_pm_get_dev_context_loss_count(struct device *dev);