Module Name:    src
Committed By:   nat
Date:           Tue Sep  6 02:23:50 UTC 2022

Modified Files:
        src/sys/dev/usb: udl.c

Log Message:
Don't throttle the frame rate.

Throttling of the frame rate is no longer necessary as most screen updates are
now partial updates.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/usb/udl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/udl.c
diff -u src/sys/dev/usb/udl.c:1.29 src/sys/dev/usb/udl.c:1.30
--- src/sys/dev/usb/udl.c:1.29	Tue Sep  6 02:20:17 2022
+++ src/sys/dev/usb/udl.c	Tue Sep  6 02:23:50 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: udl.c,v 1.29 2022/09/06 02:20:17 nat Exp $	*/
+/*	$NetBSD: udl.c,v 1.30 2022/09/06 02:23:50 nat Exp $	*/
 
 /*-
  * Copyright (c) 2009 FUKAUMI Naoki.
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: udl.c,v 1.29 2022/09/06 02:20:17 nat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udl.c,v 1.30 2022/09/06 02:23:50 nat Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -1855,8 +1855,7 @@ udl_update_thread(void *v)
 		}
 		count++;
 
-
-		kpause("udlslp", false, (40 * hz)/1000 + 1, &sc->sc_thread_mtx);
+		kpause("udlslp", false, 1, &sc->sc_thread_mtx);
 		continue;
 
 thread_wait:

Reply via email to