aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/serial.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-06-20 10:40:14 -0400
committerArnd Bergmann <arnd@arndb.de>2013-06-20 10:40:14 -0400
commit60d808ddff97071ee4c3e1d13454642f3d0e8ae1 (patch)
treedb1fbf6694ae4419f264a8919653f8540c80c44d /arch/arm/mach-omap2/serial.c
parent412bb1c1d5cc7790cf048f7b019caca3bce2fb39 (diff)
parent1e383d7bdd988b1453a3a86f5e14b012700f7dff (diff)
Merge tag 'omap-for-v3.11/pm-serial-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/cleanup
From Tony Lindgren: Serial driver platform init code clean-up via Kevin Hilman <khilman@linaro.org>: OMAP: PM: the serial core + driver can no handle no_console_suspend support without any SoC specific handlding or SoC-specific DT bindings. Remove the now unused SoC specifics for OMAP. * tag 'omap-for-v3.11/pm-serial-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: arm: omap2+: omap_device: remove no_idle_on_suspend arm: dts: am33xx: Remove "ti,no_idle_on_suspend" property. arm: omap2+: serial: remove no_console_suspend support Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-omap2/serial.c')
-rw-r--r--arch/arm/mach-omap2/serial.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
index f6601563aa69..58d5b5667315 100644
--- a/arch/arm/mach-omap2/serial.c
+++ b/arch/arm/mach-omap2/serial.c
@@ -63,7 +63,6 @@ struct omap_uart_state {
63static LIST_HEAD(uart_list); 63static LIST_HEAD(uart_list);
64static u8 num_uarts; 64static u8 num_uarts;
65static u8 console_uart_id = -1; 65static u8 console_uart_id = -1;
66static u8 no_console_suspend;
67static u8 uart_debug; 66static 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) */
@@ -207,9 +206,6 @@ static int __init omap_serial_early_init(void)
207 uart_name, uart->num); 206 uart_name, uart->num);
208 } 207 }
209 208
210 if (cmdline_find_option("no_console_suspend"))
211 no_console_suspend = true;
212
213 /* 209 /*
214 * omap-uart can be used for earlyprintk logs 210 * omap-uart can be used for earlyprintk logs
215 * So if omap-uart is used as console then prevent 211 * So if omap-uart is used as console then prevent
@@ -292,9 +288,6 @@ void __init omap_serial_init_port(struct omap_board_data *bdata,
292 return; 288 return;
293 } 289 }
294 290
295 if ((console_uart_id == bdata->id) && no_console_suspend)
296 omap_device_disable_idle_on_suspend(pdev);
297
298 oh->mux = omap_hwmod_mux_init(bdata->pads, bdata->pads_cnt); 291 oh->mux = omap_hwmod_mux_init(bdata->pads, bdata->pads_cnt);
299 292
300 if (console_uart_id == bdata->id) { 293 if (console_uart_id == bdata->id) {