aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r--drivers/tty/serial/Kconfig2
-rw-r--r--drivers/tty/serial/msm_serial.h9
2 files changed, 1 insertions, 10 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index c9dbc626038d..04d7a96c7cf9 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -1044,7 +1044,7 @@ config SERIAL_SGI_IOC3
1044 1044
1045config SERIAL_MSM 1045config SERIAL_MSM
1046 bool "MSM on-chip serial port support" 1046 bool "MSM on-chip serial port support"
1047 depends on ARCH_MSM || ARCH_QCOM 1047 depends on ARCH_QCOM
1048 select SERIAL_CORE 1048 select SERIAL_CORE
1049 1049
1050config SERIAL_MSM_CONSOLE 1050config SERIAL_MSM_CONSOLE
diff --git a/drivers/tty/serial/msm_serial.h b/drivers/tty/serial/msm_serial.h
index 3e1c7138d8cd..737f69fe7113 100644
--- a/drivers/tty/serial/msm_serial.h
+++ b/drivers/tty/serial/msm_serial.h
@@ -170,15 +170,6 @@ void msm_serial_set_mnd_regs_from_uartclk(struct uart_port *port)
170 msm_serial_set_mnd_regs_tcxoby4(port); 170 msm_serial_set_mnd_regs_tcxoby4(port);
171} 171}
172 172
173/*
174 * TROUT has a specific defect that makes it report it's uartclk
175 * as 19.2Mhz (TCXO) when it's actually 4.8Mhz (TCXO/4). This special
176 * cases TROUT to use the right clock.
177 */
178#ifdef CONFIG_MACH_TROUT
179#define msm_serial_set_mnd_regs msm_serial_set_mnd_regs_tcxoby4
180#else
181#define msm_serial_set_mnd_regs msm_serial_set_mnd_regs_from_uartclk 173#define msm_serial_set_mnd_regs msm_serial_set_mnd_regs_from_uartclk
182#endif
183 174
184#endif /* __DRIVERS_SERIAL_MSM_SERIAL_H */ 175#endif /* __DRIVERS_SERIAL_MSM_SERIAL_H */