summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/amba-pl011.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-11-28 10:41:04 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-08 17:09:07 -0800
commit17438217a6f5e33d920ed3821a4b857311cc2872 (patch)
tree9f36e6cba87f7ac6552b5ab419d8cae60a477115 /drivers/tty/serial/amba-pl011.c
parentd0ce850d60166e99d5cca011d4b871a7cc1f930c (diff)
downloadlinux-17438217a6f5e33d920ed3821a4b857311cc2872.tar.gz
linux-17438217a6f5e33d920ed3821a4b857311cc2872.tar.bz2
linux-17438217a6f5e33d920ed3821a4b857311cc2872.zip
serial: pl011: use DMA RX polling by default
Making DMA RX polling optional when DMA is on was just over-cautious: there is one single system in the kernel tree using this facility, Ux500 and after some testing I turned this on also for Ux500, which means it should simply be on by default if DMA is enabled. Cc: Jongsung Kim <neidhard.kim@lge.com> Cc: Chanho Min <chanho.min@lge.com> Cc: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/amba-pl011.c')
-rw-r--r--drivers/tty/serial/amba-pl011.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c
index a183aceb6d15..c8cc8f02b092 100644
--- a/drivers/tty/serial/amba-pl011.c
+++ b/drivers/tty/serial/amba-pl011.c
@@ -325,7 +325,7 @@ static void pl011_dma_probe_initcall(struct device *dev, struct uart_amba_port *
dmaengine_slave_config(chan, &rx_conf);
uap->dmarx.chan = chan;
- if (plat && plat->dma_rx_poll_enable) {
+ if (plat) {
/* Set poll rate if specified. */
if (plat->dma_rx_poll_rate) {
uap->dmarx.auto_poll_rate = false;