serial: add UART_CAP_EFR and UART_CAP_SLEEP flags to 16C950 UARTs definition
[firefly-linux-kernel-4.4.55.git] / drivers / serial / 8250.c
index 09ef57034c9c75b217ac8a9c395512ddb5b72e1a..bc8ed4be90738593c51717df7ace549775d994e3 100644 (file)
@@ -241,7 +241,7 @@ static const struct serial8250_config uart_config[] = {
                .fifo_size      = 128,
                .tx_loadsz      = 128,
                .fcr            = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
-               .flags          = UART_CAP_FIFO,
+               .flags          = UART_CAP_FIFO | UART_CAP_EFR | UART_CAP_SLEEP,
        },
        [PORT_16654] = {
                .name           = "ST16654",