diff options
Diffstat (limited to 'sunix-patch-alt_speed-kernel-4-13.patch')
-rw-r--r-- | sunix-patch-alt_speed-kernel-4-13.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sunix-patch-alt_speed-kernel-4-13.patch b/sunix-patch-alt_speed-kernel-4-13.patch new file mode 100644 index 000000000000..c2426e84c727 --- /dev/null +++ b/sunix-patch-alt_speed-kernel-4-13.patch @@ -0,0 +1,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)) |