Skip to content

Commit

Permalink
serial: sh-sci: Replace hardcoded 3 by UART_PM_STATE_OFF
Browse files Browse the repository at this point in the history
Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Acked-by: Simon Horman <horms@verge.net.au>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Geert Uytterhoeven authored and Greg Kroah-Hartman committed Mar 17, 2014
1 parent 26de4f1 commit d3dfe5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/sh-sci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1955,7 +1955,7 @@ static void sci_pm(struct uart_port *port, unsigned int state,
struct sci_port *sci_port = to_sci_port(port);

switch (state) {
case 3:
case UART_PM_STATE_OFF:
sci_port_disable(sci_port);
break;
default:
Expand Down

0 comments on commit d3dfe5d

Please sign in to comment.