Skip to content

Commit

Permalink
serial: sh-sci: Clarify enable_ms/break_ctl comments.
Browse files Browse the repository at this point in the history
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 <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Nov 24, 2011
1 parent d97fbbe commit d39ec6c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions drivers/tty/serial/sh-sci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d39ec6c

Please sign in to comment.