Revisions for untitled paste

View the changes made to this paste.

unlisted ⁨1⁩ ⁨file⁩ 2022-03-05 12:04:50 UTC

pastefile1

@@ -0,0 +1,28 @@

+diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_tty.c
+index d002a4e48ed9..2c84e4f0d8cb 100644
+--- a/drivers/tty/serial/samsung_tty.c
++++ b/drivers/tty/serial/samsung_tty.c
+@@ -1365,6 +1365,7 @@ static void s3c24xx_serial_pm(struct uart_port *port, unsigned int level,
+        int timeout = 10000;
+
+        ourport->pm_level = level;
++       return;
+
+        switch (level) {
+        case 3:
+@@ -2302,6 +2303,7 @@ static int s3c24xx_serial_remove(struct platform_device *dev)
+ static int s3c24xx_serial_suspend(struct device *dev)
+ {
+        struct uart_port *port = s3c24xx_dev_to_port(dev);
++       return 0;
+
+        if (port)
+                uart_suspend_port(&s3c24xx_uart_drv, port);
+@@ -2313,6 +2315,7 @@ static int s3c24xx_serial_resume(struct device *dev)
+ {
+        struct uart_port *port = s3c24xx_dev_to_port(dev);
+        struct s3c24xx_uart_port *ourport = to_ourport(port);
++       return 0;
+
+        if (port) {
+                clk_prepare_enable(ourport->clk);
\ No newline at end of file