summarylogtreecommitdiffstats
path: root/sunix-patch-alt_speed-kernel-4-13.patch
blob: c2426e84c727b7571f6d2c85b8a635b4182b84e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- driver/snx_serial.c.orig	2015-07-23 03:16:58.000000000 -0400
+++ driver/snx_serial.c	2017-09-29 21:22:27.651754374 -0400
@@ -3697,7 +3697,9 @@ static int snx_ser_open(struct tty_struc
 		tty->low_latency   = (state->port->flags & SNX_UPF_LOW_LATENCY) ? 1 : 0;
 #endif                
         
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(4,13,0))
         tty->alt_speed = 0;
+#endif
         state->info->tty = tty;
         
 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,7,0))