diff options
author | Stefan Achatz <erazor_de@users.sourceforge.net> | 2011-01-30 12:38:26 (GMT) |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-02-03 15:37:27 (GMT) |
commit | 432762e28b8146d0feff61cc8063b26c517acf26 (patch) | |
tree | db443276e99df1ce2e6c0f030529569567dff46d /drivers/hid/hid-roccat-koneplus.c | |
parent | 0e70f97f257edcef4daa92ab9371a9aac0c851ed (diff) | |
download | linux-432762e28b8146d0feff61cc8063b26c517acf26.tar.xz |
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/hid-roccat-koneplus.c')
-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 d1c3a02..df85ed8 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, struct koneplus_device *koneplus) { int retval, i; - static uint wait = 70; /* device will freeze with just 60 */ + static uint wait = 100; /* device will freeze with just 60 */ mutex_init(&koneplus->koneplus_lock); |