|
@@ -988,7 +988,7 @@ static void pl011_dma_startup(struct uart_amba_port *uap)
|
|
if (!uap->dmatx.chan)
|
|
if (!uap->dmatx.chan)
|
|
return;
|
|
return;
|
|
|
|
|
|
- uap->dmatx.buf = kmalloc(PL011_DMA_BUFFER_SIZE, GFP_KERNEL);
|
|
|
|
|
|
+ uap->dmatx.buf = kmalloc(PL011_DMA_BUFFER_SIZE, GFP_KERNEL | __GFP_DMA);
|
|
if (!uap->dmatx.buf) {
|
|
if (!uap->dmatx.buf) {
|
|
dev_err(uap->port.dev, "no memory for DMA TX buffer\n");
|
|
dev_err(uap->port.dev, "no memory for DMA TX buffer\n");
|
|
uap->port.fifosize = uap->fifosize;
|
|
uap->port.fifosize = uap->fifosize;
|