From: Stefan Achatz Date: Sun, 30 Jan 2011 12:38:26 +0000 (+0100) Subject: HID: roccat: Increase waiting time for Kone[+] to prevent occasional freezes X-Git-Tag: v2.6.39-rc1~429^2^5~6 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=432762e28b8146d0feff61cc8063b26c517acf26;p=karo-tx-linux.git 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 Signed-off-by: Jiri Kosina --- 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, 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);