Fixes trivial coding style issues.
Change-Id: I1611293045d1b24971e7fde884db1e82a1732086
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
if (priv->parity) {
termiosp->c_cflag |= PARENB;
if (priv->parity == 1) {
- termiosp->c_cflag |= PARODD;
+ termiosp->c_cflag |= PARODD;
}
}
while (1) {
/* Wait for the transmitter to be available */
while ((uart_getreg32(CONSOLE_DEV.priv, S5J_UART_UTRSTAT_OFFSET) &
- UART_UTRSTAT_TX_BUF_MASK) != UART_UTRSTAT_TX_BUF_EMPTY);
+ UART_UTRSTAT_TX_BUF_MASK) != UART_UTRSTAT_TX_BUF_EMPTY) {
+ /* Polling */
+ }
/*
* Disable interrupts so that the test and the transmission are