summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-grsec-xen/0002-fix-Atmel-maXTouch-touchscreen-support.patch
blob: 5ad26fc9e2a0bc5321d33c8b63eb06aceefdd6b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
From ab8cc1b2dc1b716d5c08f72dacbe1eded269f304 Mon Sep 17 00:00:00 2001

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
 
-	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) {