Loading drivers/serial/sh-sci.c +3 −2 Original line number Diff line number Diff line Loading @@ -1004,6 +1004,7 @@ static void sci_rx_dma_release(struct sci_port *s, bool enable_pio) s->chan_rx = NULL; s->cookie_rx[0] = s->cookie_rx[1] = -EINVAL; dma_release_channel(chan); if (sg_dma_address(&s->sg_rx[0])) dma_free_coherent(port->dev, s->buf_len_rx * 2, sg_virt(&s->sg_rx[0]), sg_dma_address(&s->sg_rx[0])); if (enable_pio) Loading Loading
drivers/serial/sh-sci.c +3 −2 Original line number Diff line number Diff line Loading @@ -1004,6 +1004,7 @@ static void sci_rx_dma_release(struct sci_port *s, bool enable_pio) s->chan_rx = NULL; s->cookie_rx[0] = s->cookie_rx[1] = -EINVAL; dma_release_channel(chan); if (sg_dma_address(&s->sg_rx[0])) dma_free_coherent(port->dev, s->buf_len_rx * 2, sg_virt(&s->sg_rx[0]), sg_dma_address(&s->sg_rx[0])); if (enable_pio) Loading