Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d3dfe5d9 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Greg Kroah-Hartman
Browse files

serial: sh-sci: Replace hardcoded 3 by UART_PM_STATE_OFF

parent 26de4f1b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1955,7 +1955,7 @@ static void sci_pm(struct uart_port *port, unsigned int state,
	struct sci_port *sci_port = to_sci_port(port);
	struct sci_port *sci_port = to_sci_port(port);


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