summaryrefslogtreecommitdiff
path: root/libre/linux-libre-pck
diff options
context:
space:
mode:
Diffstat (limited to 'libre/linux-libre-pck')
-rw-r--r--libre/linux-libre-pck/0001-drm-radeon-Make-the-driver-load-without-the-firmwares.patch51
-rw-r--r--libre/linux-libre-pck/0002-usb-serial-gadget-no-TTY-hangup-on-USB-disconnect-WI.patch39
-rw-r--r--libre/linux-libre-pck/0003-fix-Atmel-maXTouch-touchscreen-support.patch37
3 files changed, 0 insertions, 127 deletions
diff --git a/libre/linux-libre-pck/0001-drm-radeon-Make-the-driver-load-without-the-firmwares.patch b/libre/linux-libre-pck/0001-drm-radeon-Make-the-driver-load-without-the-firmwares.patch
deleted file mode 100644
index 120d1e1c1..000000000
--- a/libre/linux-libre-pck/0001-drm-radeon-Make-the-driver-load-without-the-firmwares.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From e479cd018fcd7f32714e5172265f8d1e7c4d9f0d Mon Sep 17 00:00:00 2001
-From: Jason Self <j@jxself.org>
-Date: Sun, 30 Aug 2015 14:27:44 -0700
-Subject: [PATCH 1/3] drm/radeon: Make the driver load without the
- firmwares.
-
-Reviewed-by: André Silva <emulatorman@parabola.nu>
----
- drivers/gpu/drm/radeon/r600.c | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c
-index ca4c01f..2062228 100644
---- a/drivers/gpu/drm/radeon/r600.c
-+++ b/drivers/gpu/drm/radeon/r600.c
-@@ -2489,7 +2489,7 @@ int r600_init_microcode(struct radeon_device *rdev)
- }
-
- DRM_INFO("Loading %s Microcode\n", chip_name);
--
-+#if 0
- snprintf(fw_name, sizeof(fw_name), "/*(DEBLOBBED)*/", chip_name);
- err = reject_firmware(&rdev->pfp_fw, fw_name, rdev->dev);
- if (err)
-@@ -2541,7 +2541,7 @@ int r600_init_microcode(struct radeon_device *rdev)
- err = -EINVAL;
- }
- }
--
-+#endif
- out:
- if (err) {
- if (err != -EINVAL)
-@@ -3201,7 +3201,7 @@ int r600_init(struct radeon_device *rdev)
- r = radeon_bo_init(rdev);
- if (r)
- return r;
--
-+#if 0
- if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) {
- r = r600_init_microcode(rdev);
- if (r) {
-@@ -3209,7 +3209,7 @@ int r600_init(struct radeon_device *rdev)
- return r;
- }
- }
--
-+#endif
- /* Initialize power management */
- radeon_pm_init(rdev);
-
diff --git a/libre/linux-libre-pck/0002-usb-serial-gadget-no-TTY-hangup-on-USB-disconnect-WI.patch b/libre/linux-libre-pck/0002-usb-serial-gadget-no-TTY-hangup-on-USB-disconnect-WI.patch
deleted file mode 100644
index b241525c8..000000000
--- a/libre/linux-libre-pck/0002-usb-serial-gadget-no-TTY-hangup-on-USB-disconnect-WI.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From d2702eb8157f845c81b1a6049139f342f12db494 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 2/3] 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
-
diff --git a/libre/linux-libre-pck/0003-fix-Atmel-maXTouch-touchscreen-support.patch b/libre/linux-libre-pck/0003-fix-Atmel-maXTouch-touchscreen-support.patch
deleted file mode 100644
index e85f3514a..000000000
--- a/libre/linux-libre-pck/0003-fix-Atmel-maXTouch-touchscreen-support.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From ab8cc1b2dc1b716d5c08f72dacbe1eded269f304 Mon Sep 17 00:00:00 2001
-From: André Silva <emulatorman@parabola.nu>
-Date: Tue, 22 Mar 2016 17:58:59 -0300
-Subject: [PATCH 3/3] fix Atmel maXTouch touchscreen support
-
-The Atmel maXTouch touchscreen works with Linux-libre 3.13-gnu,
-but not with the current longterm and mainline kernels in
-Parabola.
-
-Now it needs to load nonfree firmware in mxt_initialize(),
-which is in drivers/input/touchscreen/atmel_mxt_ts.c, and the
-atmel_mxt_ts driver fails to work.
-
-This driver works if changing reject_firmware_nowait to
-request_firmware_nowait in atmel_mxt_ts.c. This line is
-requesting the file named MXT_CFG_NAME, and it's a config file,
-not the firmware blob.
-
-Signed-off-by: André Silva <emulatorman@parabola.nu>
-Signed-off-by: mytbk <mytbk920423@gmail.com>
----
- drivers/input/touchscreen/atmel_mxt_ts.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c
-index 726a83e..d818834 100644
---- a/drivers/input/touchscreen/atmel_mxt_ts.c
-+++ b/drivers/input/touchscreen/atmel_mxt_ts.c
-@@ -1989,7 +1989,7 @@ static int mxt_initialize(struct mxt_data *data)
- if (error)
- goto err_free_object_table;
-
-- error = reject_firmware_nowait(THIS_MODULE, true, MXT_CFG_NAME,
-+ error = request_firmware_nowait(THIS_MODULE, true, MXT_CFG_NAME,
- &client->dev, GFP_KERNEL, data,
- mxt_config_cb);
- if (error) {