From: Paul Mundt Date: Thu, 24 Nov 2011 10:36:46 +0000 (+0900) Subject: serial: sh-sci: Clarify enable_ms/break_ctl comments. X-Git-Tag: firefly_0821_release~3680^2~3743^2~11^4~5 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d39ec6ce34f130d582880d1f3cbe2b38e723cafe;p=firefly-linux-kernel-4.4.55.git serial: sh-sci: Clarify enable_ms/break_ctl comments. Technically there's nothing we can do for either of these, so update the comments to reflect this, rather than infering that there's additional work to be done. Signed-off-by: Paul Mundt --- diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 3bea91b3a6f1..cd1379235f13 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c @@ -1465,12 +1465,17 @@ static void sci_stop_rx(struct uart_port *port) static void sci_enable_ms(struct uart_port *port) { - /* Nothing here yet .. */ + /* + * Not supported by hardware, always a nop. + */ } static void sci_break_ctl(struct uart_port *port, int break_state) { - /* Nothing here yet .. */ + /* + * Not supported by hardware. Most parts couple break and rx + * interrupts together, with break detection always enabled. + */ } #ifdef CONFIG_SERIAL_SH_SCI_DMA