diff options
author | Stefan Achatz <erazor_de@users.sourceforge.net> | 2011-01-30 07:38:26 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-02-03 10:37:27 -0500 |
commit | 432762e28b8146d0feff61cc8063b26c517acf26 (patch) | |
tree | db443276e99df1ce2e6c0f030529569567dff46d /drivers/hid | |
parent | 0e70f97f257edcef4daa92ab9371a9aac0c851ed (diff) |
HID: roccat: Increase waiting time for Kone[+] to prevent occasional freezes
On newer kernels the device freezes occasionally on initialization with just
70msec between reads. Increased this value to safe 100msec.
Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/hid-roccat-koneplus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-roccat-koneplus.c b/drivers/hid/hid-roccat-koneplus.c index d1c3a02109a8..df85ed8a3397 100644 --- a/drivers/hid/hid-roccat-koneplus.c +++ b/drivers/hid/hid-roccat-koneplus.c | |||
@@ -557,7 +557,7 @@ static int koneplus_init_koneplus_device_struct(struct usb_device *usb_dev, | |||
557 | struct koneplus_device *koneplus) | 557 | struct koneplus_device *koneplus) |
558 | { | 558 | { |
559 | int retval, i; | 559 | int retval, i; |
560 | static uint wait = 70; /* device will freeze with just 60 */ | 560 | static uint wait = 100; /* device will freeze with just 60 */ |
561 | 561 | ||
562 | mutex_init(&koneplus->koneplus_lock); | 562 | mutex_init(&koneplus->koneplus_lock); |
563 | 563 | ||