From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB

---
 kernel/drivers/tty/serial/8250/8250_tegra.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/kernel/drivers/tty/serial/8250/8250_tegra.c b/kernel/drivers/tty/serial/8250/8250_tegra.c
index c0ffad1..b6694dd 100644
--- a/kernel/drivers/tty/serial/8250/8250_tegra.c
+++ b/kernel/drivers/tty/serial/8250/8250_tegra.c
@@ -111,13 +111,15 @@
 
 	ret = serial8250_register_8250_port(&port8250);
 	if (ret < 0)
-		goto err_clkdisable;
+		goto err_ctrl_assert;
 
 	platform_set_drvdata(pdev, uart);
 	uart->line = ret;
 
 	return 0;
 
+err_ctrl_assert:
+	reset_control_assert(uart->rst);
 err_clkdisable:
 	clk_disable_unprepare(uart->clk);
 

--
Gitblit v1.6.2