vsense: change polling time
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 8 Mar 2009 21:56:18 +0000 (23:56 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 8 Mar 2009 21:56:18 +0000 (23:56 +0200)
Do polls every ~30ms instead of ~25ms with hope to avoid
some strange breakage of nub operation.

drivers/input/misc/vsense.c

index db32b52..6d44cdc 100644 (file)
@@ -64,7 +64,7 @@ static void vsense_work(struct work_struct *work)
        ax = (signed int)buff[2];
        ay = (signed int)buff[3];
 
-       schedule_delayed_work(&ddata->work, msecs_to_jiffies(25));
+       schedule_delayed_work(&ddata->work, msecs_to_jiffies(30));
 
 dosync:
        switch (ddata->mode) {