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>
This commit is contained in:
Stefan Achatz 2011-01-30 13:38:26 +01:00 коммит произвёл Jiri Kosina
Родитель 0e70f97f25
Коммит 432762e28b
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -557,7 +557,7 @@ static int koneplus_init_koneplus_device_struct(struct usb_device *usb_dev,
struct koneplus_device *koneplus) struct koneplus_device *koneplus)
{ {
int retval, i; 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); mutex_init(&koneplus->koneplus_lock);