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

Commit 91330a8a authored by Akash Asthana's avatar Akash Asthana Committed by Paras Sharma
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 2fe944d1
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>
@@ -2009,6 +2009,7 @@ static void msm_geni_serial_handle_isr(struct uart_port *uport,
				IPC_LOG_MSG(msm_port->ipc_log_misc,
					"%s.Reset done.  0x%x.\n",
						__func__, dma_rx_status);
				s_cmd_done = true;
				goto exit_geni_serial_isr;
			}