aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkimi <kimi.h.kuparinen@gmail.com>2020-06-27 12:34:32 -0400
committerkimi <kimi.h.kuparinen@gmail.com>2020-06-27 12:34:32 -0400
commit4976c758285759ae5a6403ba100051c8b33479a2 (patch)
tree47a2b6f0dc08bba6d4ea78f46ae28938bbd193f3
parent3cb75787dfaedaae1b5a3a6a592687c1210d4b22 (diff)
downloadhid-tmff2-4976c758285759ae5a6403ba100051c8b33479a2.tar.gz
hid-tmff2-4976c758285759ae5a6403ba100051c8b33479a2.zip
more testing
-rw-r--r--hid-tmff2.c6
-rw-r--r--hid-tmff2.kobin22200 -> 22200 bytes
-rw-r--r--hid-tmff2.mod.c2
-rw-r--r--hid-tmff2.mod.obin3016 -> 3016 bytes
-rw-r--r--hid-tmff2.obin20136 -> 20136 bytes
5 files changed, 4 insertions, 4 deletions
diff --git a/hid-tmff2.c b/hid-tmff2.c
index 1d5ba9a..2f1090c 100644
--- a/hid-tmff2.c
+++ b/hid-tmff2.c
@@ -349,9 +349,9 @@ static int tmff_play(struct input_dev *dev, void *data,
last = ktime_get_ns();
- struct urb *urb = usb_alloc_urb(0, GFP_KERNEL);
+ struct urb *urb = usb_alloc_urb(0, GFP_ATOMIC);
- u8 *send_buf = kmalloc(1024, GFP_KERNEL);
+ u8 *send_buf = kmalloc(1024, GFP_ATOMIC);
memcpy(send_buf, ff_constant_array, ARRAY_SIZE(ff_constant_array));
ep = &usbif->cur_altsetting->endpoint[1];
@@ -389,7 +389,7 @@ static int tmff_play(struct input_dev *dev, void *data,
hid,
ep->desc.bInterval
);
- usb_submit_urb(urb, GFP_KERNEL);
+ usb_submit_urb(urb, GFP_ATOMIC);
break;
diff --git a/hid-tmff2.ko b/hid-tmff2.ko
index 4988fa1..9ee42dd 100644
--- a/hid-tmff2.ko
+++ b/hid-tmff2.ko
Binary files differ
diff --git a/hid-tmff2.mod.c b/hid-tmff2.mod.c
index 8474e02..63825b7 100644
--- a/hid-tmff2.mod.c
+++ b/hid-tmff2.mod.c
@@ -27,4 +27,4 @@ MODULE_INFO(depends, "hid,ff-memless");
MODULE_ALIAS("hid:b0003g*v0000044Fp0000B65D");
MODULE_ALIAS("hid:b0003g*v0000044Fp0000B66E");
-MODULE_INFO(srcversion, "6DD6221C2960C094FB39B49");
+MODULE_INFO(srcversion, "B19CE4B20117543F62E0F56");
diff --git a/hid-tmff2.mod.o b/hid-tmff2.mod.o
index 207f5a7..2538c4c 100644
--- a/hid-tmff2.mod.o
+++ b/hid-tmff2.mod.o
Binary files differ
diff --git a/hid-tmff2.o b/hid-tmff2.o
index e44c96d..7413458 100644
--- a/hid-tmff2.o
+++ b/hid-tmff2.o
Binary files differ