Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3fa30ac3 authored by Juergen Borleis's avatar Juergen Borleis Committed by Greg Kroah-Hartman
Browse files

serial: mxs-auart: use a function name to reflect what it really does



This function clears the reset the AUART unit is in after system start
to make it work.

Signed-off-by: default avatarJuergen Borleis <jbe@pengutronix.de>
Reviewed-by: default avatarPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d3159455
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
@@ -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)