summaryrefslogtreecommitdiff
path: root/libre/linux-libre-pck/0001-usb-serial-gadget-no-TTY-hangup-on-USB-disconnect-WI.patch
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-08-01 15:18:52 -0400
committerDavid P <megver83@parabola.nu>2018-08-01 15:19:29 -0400
commit2461fcd4868e1d3071d1618f5f51d0dfd197616a (patch)
treebaff8a959d9e0c5caa96c0efd3928bf8f0790006 /libre/linux-libre-pck/0001-usb-serial-gadget-no-TTY-hangup-on-USB-disconnect-WI.patch
parent29d00da32f37aaa41f809645077ebffd3b570a33 (diff)
downloadabslibre-2461fcd4868e1d3071d1618f5f51d0dfd197616a.tar.gz
abslibre-2461fcd4868e1d3071d1618f5f51d0dfd197616a.tar.bz2
abslibre-2461fcd4868e1d3071d1618f5f51d0dfd197616a.zip
upgpkg: libre/linux-libre-pck 4.17.11_gnu.pck1-1
Remove 0001-usb-serial-gadget-no-TTY-hangup-on-USB-disconnect-WI.patch and 0002-fix-Atmel-maXTouch-touchscreen-support.patch since they are now part of the PCK patch https://gitlab.com/Megver83/linux-libre-pck/commit/a2480bbde34ac04bb54c3ad761917e43add298ac https://gitlab.com/Megver83/linux-libre-pck/commit/94fb7776c7404ac2e97f7febef5066cff9016715 Also update config files Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'libre/linux-libre-pck/0001-usb-serial-gadget-no-TTY-hangup-on-USB-disconnect-WI.patch')
-rw-r--r--libre/linux-libre-pck/0001-usb-serial-gadget-no-TTY-hangup-on-USB-disconnect-WI.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/libre/linux-libre-pck/0001-usb-serial-gadget-no-TTY-hangup-on-USB-disconnect-WI.patch b/libre/linux-libre-pck/0001-usb-serial-gadget-no-TTY-hangup-on-USB-disconnect-WI.patch
deleted file mode 100644
index e9de435fd..000000000
--- a/libre/linux-libre-pck/0001-usb-serial-gadget-no-TTY-hangup-on-USB-disconnect-WI.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 716120e8010a7f400c6bed7384000e95e1465c94 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= <kyosti.malkki@gmail.com>
-Date: Mon, 26 Aug 2013 19:19:44 +0300
-Subject: [PATCH 1/2] usb serial gadget: no TTY hangup on USB disconnect [WIP]
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-We may want to maintain the TTY over USB disconnects.
-
-This is useful when we have a terminal console to a host which
-power-cycles or for other reasons resets the USB host controller.
-
-Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
----
- drivers/usb/gadget/function/u_serial.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/drivers/usb/gadget/function/u_serial.c b/drivers/usb/gadget/function/u_serial.c
-index b369292..d156a28 100644
---- a/drivers/usb/gadget/function/u_serial.c
-+++ b/drivers/usb/gadget/function/u_serial.c
-@@ -1258,8 +1258,13 @@ void gserial_disconnect(struct gserial *gser)
- gser->ioport = NULL;
- if (port->port.count > 0 || port->openclose) {
- wake_up_interruptible(&port->drain_wait);
-+#if 0
- if (port->port.tty)
- tty_hangup(port->port.tty);
-+#else
-+ if (port->port.tty)
-+ stop_tty(port->port.tty);
-+#endif
- }
- spin_unlock_irqrestore(&port->port_lock, flags);
-
---
-1.8.1.1
-