diff options
author | Sourav Poddar <sourav.poddar@ti.com> | 2013-04-26 16:25:32 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@linaro.org> | 2013-05-16 10:09:09 -0400 |
commit | 97d7f175742dca0b4ea5aeafbe688471b053deaf (patch) | |
tree | c1429a1ec09e181166e7254982969c52da5a6b31 /arch/arm | |
parent | f722406faae2d073cc1d01063d1123c35425939e (diff) |
arm: omap2+: serial: remove no_console_suspend support
"no_console_suspend" is no longer handled in platform file,
Since the omap serial driver is now adapted to prevent
console UART idleing during suspend.
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Felipe Balbi <balbi@ti.com>
Cc: Rajendra nayak <rnayak@ti.com>
Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap2/serial.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index 8396b5b7e912..25fb6e9fda5c 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c | |||
@@ -63,7 +63,6 @@ struct omap_uart_state { | |||
63 | static LIST_HEAD(uart_list); | 63 | static LIST_HEAD(uart_list); |
64 | static u8 num_uarts; | 64 | static u8 num_uarts; |
65 | static u8 console_uart_id = -1; | 65 | static u8 console_uart_id = -1; |
66 | static u8 no_console_suspend; | ||
67 | static u8 uart_debug; | 66 | static u8 uart_debug; |
68 | 67 | ||
69 | #define DEFAULT_RXDMA_POLLRATE 1 /* RX DMA polling rate (us) */ | 68 | #define DEFAULT_RXDMA_POLLRATE 1 /* RX DMA polling rate (us) */ |
@@ -236,9 +235,6 @@ static int __init omap_serial_early_init(void) | |||
236 | uart_name, uart->num); | 235 | uart_name, uart->num); |
237 | } | 236 | } |
238 | 237 | ||
239 | if (cmdline_find_option("no_console_suspend")) | ||
240 | no_console_suspend = true; | ||
241 | |||
242 | /* | 238 | /* |
243 | * omap-uart can be used for earlyprintk logs | 239 | * omap-uart can be used for earlyprintk logs |
244 | * So if omap-uart is used as console then prevent | 240 | * So if omap-uart is used as console then prevent |
@@ -323,9 +319,6 @@ void __init omap_serial_init_port(struct omap_board_data *bdata, | |||
323 | return; | 319 | return; |
324 | } | 320 | } |
325 | 321 | ||
326 | if ((console_uart_id == bdata->id) && no_console_suspend) | ||
327 | omap_device_disable_idle_on_suspend(pdev); | ||
328 | |||
329 | oh->mux = omap_hwmod_mux_init(bdata->pads, bdata->pads_cnt); | 322 | oh->mux = omap_hwmod_mux_init(bdata->pads, bdata->pads_cnt); |
330 | 323 | ||
331 | if (console_uart_id == bdata->id) { | 324 | if (console_uart_id == bdata->id) { |