summaryrefslogtreecommitdiff
path: root/libre-testing/linux-libre/0003-fix-atmel-maxtouch-touchscreen-support.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-03-25 08:17:24 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-03-25 08:17:24 -0300
commit022dc975f33882a2a653bc5e30e0a88bfc5afd66 (patch)
treea6a89245d7010c934f5bda564a3f91e72ac3f6ce /libre-testing/linux-libre/0003-fix-atmel-maxtouch-touchscreen-support.patch
parentd46a4c30f490b87f860b0c0f8d6c8a9d27165734 (diff)
linux-libre: fix Atmel maXTouch touchscreen support -> https://labs.parabola.nu/issues/877
Diffstat (limited to 'libre-testing/linux-libre/0003-fix-atmel-maxtouch-touchscreen-support.patch')
-rw-r--r--libre-testing/linux-libre/0003-fix-atmel-maxtouch-touchscreen-support.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/libre-testing/linux-libre/0003-fix-atmel-maxtouch-touchscreen-support.patch b/libre-testing/linux-libre/0003-fix-atmel-maxtouch-touchscreen-support.patch
new file mode 100644
index 000000000..9d2444252
--- /dev/null
+++ b/libre-testing/linux-libre/0003-fix-atmel-maxtouch-touchscreen-support.patch
@@ -0,0 +1,13 @@
+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) {