Commit 30e53bcc authored by vikram pandita's avatar vikram pandita Committed by Tony Lindgren

omap2/3/4: serial: fix coding style indentaion

No logical code change

Fix coding style indentaion as per checkpatch.pl
Fix multi-line comment style reported by Nishanth Menon
Signed-off-by: default avatarVikram Pandita <vikram.pandita@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Acked-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 2586ef0d
...@@ -716,15 +716,16 @@ void __init omap_serial_init_port(int port) ...@@ -716,15 +716,16 @@ void __init omap_serial_init_port(int port)
DEV_CREATE_FILE(dev, &dev_attr_sleep_timeout); DEV_CREATE_FILE(dev, &dev_attr_sleep_timeout);
} }
/* omap44xx: Never read empty UART fifo /*
* omap3xxx: Never read empty UART fifo on UARTs * omap44xx: Never read empty UART fifo
* with IP rev >=0x52 * omap3xxx: Never read empty UART fifo on UARTs
*/ * with IP rev >=0x52
if (cpu_is_omap44xx()) */
uart->p->serial_in = serial_in_override; if (cpu_is_omap44xx())
else if ((serial_read_reg(uart->p, UART_OMAP_MVER) & 0xFF) uart->p->serial_in = serial_in_override;
>= UART_OMAP_NO_EMPTY_FIFO_READ_IP_REV) else if ((serial_read_reg(uart->p, UART_OMAP_MVER) & 0xFF)
uart->p->serial_in = serial_in_override; >= UART_OMAP_NO_EMPTY_FIFO_READ_IP_REV)
uart->p->serial_in = serial_in_override;
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment