HID: roccat: Increase waiting time for Kone[+] to prevent occasional freezes
authorStefan Achatz <erazor_de@users.sourceforge.net>
Sun, 30 Jan 2011 12:38:26 +0000 (13:38 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 3 Feb 2011 15:37:27 +0000 (16:37 +0100)
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>
drivers/hid/hid-roccat-koneplus.c

index d1c3a02109a8f5a4c9134451e7ae7e65cbe69e74..df85ed8a3397256305c7430647f5000447f21bb0 100644 (file)
@@ -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);