Skip to content

Commit

Permalink
serial: mxs-auart: use a function name to reflect what it really does
Browse files Browse the repository at this point in the history
This function clears the reset the AUART unit is in after system start
to make it work.

Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Juergen Borleis authored and Greg Kroah-Hartman committed Aug 15, 2015
1 parent d315945 commit 3fa30ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/tty/serial/mxs-auart.c
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ static irqreturn_t mxs_auart_irq_handle(int irq, void *context)
return IRQ_HANDLED;
}

static void mxs_auart_reset(struct uart_port *u)
static void mxs_auart_reset_deassert(struct uart_port *u)
{
int i;
unsigned int reg;
Expand Down Expand Up @@ -1291,7 +1291,7 @@ static int mxs_auart_probe(struct platform_device *pdev)

auart_port[s->port.line] = s;

mxs_auart_reset(&s->port);
mxs_auart_reset_deassert(&s->port);

ret = uart_add_one_port(&auart_driver, &s->port);
if (ret)
Expand Down

0 comments on commit 3fa30ac

Please sign in to comment.