|
@@ -101,7 +101,7 @@ static unsigned int uniphier_serial_in(struct uart_port *p, int offset)
|
|
static void uniphier_serial_out(struct uart_port *p, int offset, int value)
|
|
static void uniphier_serial_out(struct uart_port *p, int offset, int value)
|
|
{
|
|
{
|
|
unsigned int valshift = 0;
|
|
unsigned int valshift = 0;
|
|
- bool normal = false;
|
|
|
|
|
|
+ bool normal = true;
|
|
|
|
|
|
switch (offset) {
|
|
switch (offset) {
|
|
case UART_FCR:
|
|
case UART_FCR:
|
|
@@ -114,9 +114,9 @@ static void uniphier_serial_out(struct uart_port *p, int offset, int value)
|
|
/* fall through */
|
|
/* fall through */
|
|
case UART_MCR:
|
|
case UART_MCR:
|
|
offset = UNIPHIER_UART_LCR_MCR;
|
|
offset = UNIPHIER_UART_LCR_MCR;
|
|
|
|
+ normal = false;
|
|
break;
|
|
break;
|
|
default:
|
|
default:
|
|
- normal = true;
|
|
|
|
offset <<= UNIPHIER_UART_REGSHIFT;
|
|
offset <<= UNIPHIER_UART_REGSHIFT;
|
|
break;
|
|
break;
|
|
}
|
|
}
|