* Disable the console device before suspending.
*/
if (uart_console(port))
- console_stop(port->cons);
+ port->cons->flags &= ~CON_ENABLED;
uart_change_pm(state, 3);
*/
if (uart_console(port)) {
uart_change_speed(state, NULL);
- console_start(port->cons);
+ port->cons->flags |= CON_ENABLED;
}
if (state->info && state->info->flags & UIF_INITIALIZED) {