forked from Minki/linux
serial: sh-sci: Replace hardcoded 3 by UART_PM_STATE_OFF
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>
This commit is contained in:
parent
26de4f1b2f
commit
d3dfe5d9b4
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user