]> git.baikalelectronics.ru Git - kernel.git/commit
serial: imx: make setup_ufcr more useful
authorLucas Stach <l.stach@pengutronix.de>
Fri, 4 Sep 2015 15:52:37 +0000 (17:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 17:41:09 +0000 (18:41 +0100)
commit24b2a22bb8e51e14b12eb3b962ea98dbfa1f01d5
tree58be43310accff83ca88180b20f89d76795cd096
parent76c3ba5f1b7de6402a6376fa92c26eb0f8279890
serial: imx: make setup_ufcr more useful

This function currently doesn't use its parameter.

Change prototype to pass in watermark levels, so we can reuse this
function in the DMA setup paths. Also relocate to be near the calling
functions.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Acked-by: Jiada Wang <jiada_wang@mentor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c