aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/bfin_5xx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/bfin_5xx.c b/drivers/serial/bfin_5xx.c
index 3a2aa7e277fa..838f491c8deb 100644
--- a/drivers/serial/bfin_5xx.c
+++ b/drivers/serial/bfin_5xx.c
@@ -704,6 +704,7 @@ static void bfin_serial_shutdown(struct uart_port *port)
704 disable_dma(uart->rx_dma_channel); 704 disable_dma(uart->rx_dma_channel);
705 free_dma(uart->rx_dma_channel); 705 free_dma(uart->rx_dma_channel);
706 del_timer(&(uart->rx_dma_timer)); 706 del_timer(&(uart->rx_dma_timer));
707 dma_free_coherent(NULL, PAGE_SIZE, uart->rx_dma_buf.buf, 0);
707#else 708#else
708#ifdef CONFIG_KGDB_UART 709#ifdef CONFIG_KGDB_UART
709 if (uart->port.line != CONFIG_KGDB_UART_PORT) 710 if (uart->port.line != CONFIG_KGDB_UART_PORT)