diff options
-rw-r--r-- | drivers/tty/serial/8250/8250_dw.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c index 0529b5cc094b..aff04f1de3a5 100644 --- a/drivers/tty/serial/8250/8250_dw.c +++ b/drivers/tty/serial/8250/8250_dw.c | |||
@@ -576,6 +576,10 @@ static int dw8250_probe(struct platform_device *pdev) | |||
576 | if (!data->skip_autocfg) | 576 | if (!data->skip_autocfg) |
577 | dw8250_setup_port(p); | 577 | dw8250_setup_port(p); |
578 | 578 | ||
579 | #ifdef CONFIG_PM | ||
580 | uart.capabilities |= UART_CAP_RPM; | ||
581 | #endif | ||
582 | |||
579 | /* If we have a valid fifosize, try hooking up DMA */ | 583 | /* If we have a valid fifosize, try hooking up DMA */ |
580 | if (p->fifosize) { | 584 | if (p->fifosize) { |
581 | data->dma.rxconf.src_maxburst = p->fifosize / 4; | 585 | data->dma.rxconf.src_maxburst = p->fifosize / 4; |