artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcbbabc
)
Spacing
author
mglocker
<mglocker@openbsd.org>
Sun, 28 Nov 2021 14:10:32 +0000
(14:10 +0000)
committer
mglocker
<mglocker@openbsd.org>
Sun, 28 Nov 2021 14:10:32 +0000
(14:10 +0000)
sys/dev/usb/utvfu.c
patch
|
blob
|
history
diff --git
a/sys/dev/usb/utvfu.c
b/sys/dev/usb/utvfu.c
index
eb65ff7
..
6f99460
100644
(file)
--- a/
sys/dev/usb/utvfu.c
+++ b/
sys/dev/usb/utvfu.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: utvfu.c,v 1.1
4 2021/11/28 13:57:37
mglocker Exp $ */
+/* $OpenBSD: utvfu.c,v 1.1
5 2021/11/28 14:10:32
mglocker Exp $ */
/*
* Copyright (c) 2013 Lubomir Rintel
* Copyright (c) 2013 Federico Simoncelli
@@
-124,11
+124,13
@@
utvfu_set_regs(struct utvfu_softc *sc, const uint16_t regs[][2], int size)
int
utvfu_max_frame_size(void)
{
- int i, sz = 0;
+ int i, sz = 0;
+
for (i = 0; i < nitems(utvfu_norm_params); i++) {
if (sz < utvfu_norm_params[i].frame_len)
sz = utvfu_norm_params[i].frame_len;
}
+
return (sz);
}