VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: andy.hu <andy.hu@starfivetech.com> 2023-09-21 09:09:31 +0000 committer: andy.hu <andy.hu@starfivetech.com> 2023-09-21 09:09:31 +0000 commit: 19c1eeb7ed5521b04206f3b383d62fd3b01213b5 parent: 8ba003ee886c555702405f8dca5a64cefe77b85e
Commit Summary:
Merge branch 'CR_7149_UART_5.15_william.qiu' into 'jh7110-5.15.y-devel'
Diffstat:
1 file changed, 4 insertions, 0 deletions
diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c
index 25e434e68ee1..d02665688f35 100644
--- a/drivers/tty/serial/8250/8250_dw.c
+++ b/drivers/tty/serial/8250/8250_dw.c
@@ -674,6 +674,8 @@ static int dw8250_runtime_suspend(struct device *dev)
 {
 	struct dw8250_data *data = dev_get_drvdata(dev);
 
+	reset_control_assert(data->rst);
+
 	clk_disable_unprepare(data->clk);
 
 	clk_disable_unprepare(data->pclk);
@@ -689,6 +691,8 @@ static int dw8250_runtime_resume(struct device *dev)
 
 	clk_prepare_enable(data->clk);
 
+	reset_control_deassert(data->rst);
+
 	return 0;
 }
 #endif