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

Commit 6318d62c authored by Akash Asthana's avatar Akash Asthana
Browse files

serial: msm_geni_serial: Fix false warning for reset failure



Set command completion after receiving reset interrupt.

Change-Id: I5a19fbc055eaa73d5a724144e65b276886a97d6b
Signed-off-by: default avatarAkash Asthana <akashast@codeaurora.org>
parent 1ea05851
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2016-2020, The Linux Foundation. All rights reserved.
 * Copyright (c) 2016-2021, The Linux Foundation. All rights reserved.
 */

#include <linux/bitmap.h>
@@ -1943,6 +1943,7 @@ static bool handle_rx_dma_xfer(u32 s_irq_status, struct uart_port *uport)
		if (dma_rx_status & RX_RESET_DONE) {
			IPC_LOG_MSG(msm_port->ipc_log_misc,
			"%s.Reset done.  0x%x.\n", __func__, dma_rx_status);
			ret = true;
			return ret;
		}