aboutsummaryrefslogtreecommitdiff
path: root/hid-tmt300rs.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2020-10-31 22:59:36 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2020-10-31 22:59:36 +0200
commit52c1dfed8e559acbd79fcec1229100732b53b322 (patch)
treece466f4f826e3f5ba89792226986be322d3d0705 /hid-tmt300rs.c
parent58396771c3bb6683eac8b8020d27544fffe1d665 (diff)
downloadhid-tmff2-52c1dfed8e559acbd79fcec1229100732b53b322.tar.gz
hid-tmff2-52c1dfed8e559acbd79fcec1229100732b53b322.zip
Forgot to comment out spin_unlock_irqrestore
Diffstat (limited to 'hid-tmt300rs.c')
-rw-r--r--hid-tmt300rs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hid-tmt300rs.c b/hid-tmt300rs.c
index 411a3ca..1835883 100644
--- a/hid-tmt300rs.c
+++ b/hid-tmt300rs.c
@@ -1473,7 +1473,7 @@ int t300rs_init(struct hid_device *hdev, const signed short *ff_bits){
hrtimer_init(&t300rs->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
t300rs->hrtimer.function = t300rs_timer;
- spin_unlock_irqrestore(&lock, lock_flags);
+ //spin_unlock_irqrestore(&lock, lock_flags);
t300rs_range_store(dev, &dev_attr_range, range, 10);
t300rs_set_gain(input_dev, 0xffff);