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

Commit c6736630 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm_serial_hs_lite: Remove kernel panic"

parents e7b75d2e 0e58f484
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -1411,8 +1411,13 @@ static void wait_for_xmitr(struct uart_port *port)
			touch_nmi_watchdog();
			cpu_relax();
			if (++count == msm_hsl_port->tx_timeout) {
				pr_info("%s: UART TX Stuck, Resetting TX\n",
								 __func__);
				msm_hsl_write(port, RESET_TX,
					regmap[vid][UARTDM_CR]);
				mb();
				dump_hsl_regs(port);
				panic("MSM HSL wait_for_xmitr is stuck!");
				break;
			}
		}
		msm_hsl_write(port, CLEAR_TX_READY, regmap[vid][UARTDM_CR]);