summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/tty/serial/mpsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/mpsc.c b/drivers/tty/serial/mpsc.c
index edb32e3f1e84..2f43a58cb392 100644
--- a/drivers/tty/serial/mpsc.c
+++ b/drivers/tty/serial/mpsc.c
@@ -753,7 +753,7 @@ static int mpsc_alloc_ring_mem(struct mpsc_port_info *pi)
753 pi->port.line); 753 pi->port.line);
754 754
755 if (!pi->dma_region) { 755 if (!pi->dma_region) {
756 if (!dma_supported(pi->port.dev, 0xffffffff)) { 756 if (!dma_set_mask(pi->port.dev, 0xffffffff)) {
757 printk(KERN_ERR "MPSC: Inadequate DMA support\n"); 757 printk(KERN_ERR "MPSC: Inadequate DMA support\n");
758 rc = -ENXIO; 758 rc = -ENXIO;
759 } else if ((pi->dma_region = dma_alloc_noncoherent(pi->port.dev, 759 } else if ((pi->dma_region = dma_alloc_noncoherent(pi->port.dev,