static void sci_shutdown(struct uart_port *port) { struct sci_port *s = &sci_ports[port->line]; sci_stop_rx(port); sci_stop_tx(port); sci_free_irq(s); if (s->disable) s->disable(port); }
static void sci_shutdown(struct uart_port *port) { struct sci_port *s = &sci_ports[port->line]; sci_stop_rx(port); sci_stop_tx(port); sci_free_irq(s); if (s->disable) s->disable(port); #ifdef CONFIG_HAVE_CLK clk_put(s->clk); s->clk = NULL; #endif }