diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2020-10-31 22:42:03 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2020-10-31 22:42:03 +0200 |
| commit | 40b2e75270483392fb8914f8d251ad5a1f61e829 (patch) | |
| tree | dcbd2e094384a019ef7e4a87d1831e32b80e56f3 /hid-tmt300rs.c | |
| parent | fff91b28e1260d634487e9fdce4bac316b993c0e (diff) | |
| download | hid-tmff2-40b2e75270483392fb8914f8d251ad5a1f61e829.tar.gz hid-tmff2-40b2e75270483392fb8914f8d251ad5a1f61e829.zip | |
Quick hack for testing purposes
Diffstat (limited to 'hid-tmt300rs.c')
| -rw-r--r-- | hid-tmt300rs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hid-tmt300rs.c b/hid-tmt300rs.c index 7fbe829..411a3ca 100644 --- a/hid-tmt300rs.c +++ b/hid-tmt300rs.c @@ -1500,7 +1500,7 @@ static int t300rs_probe(struct hid_device *hdev, const struct hid_device_id *id) struct t300rs_data *drv_data; spin_lock_init(&lock); - spin_lock_irqsave(&lock, lock_flags); + //spin_lock_irqsave(&lock, lock_flags); drv_data = kzalloc(sizeof(struct t300rs_data), GFP_ATOMIC); if(!drv_data){ @@ -1532,7 +1532,7 @@ static int t300rs_probe(struct hid_device *hdev, const struct hid_device_id *id) return 0; err: kfree(drv_data); - spin_unlock_irqrestore(&lock, lock_flags); + //spin_unlock_irqrestore(&lock, lock_flags); return ret; } |
