After our recent changes, VIDIOC_S_FMT didn't always return the correct
authormglocker <mglocker@openbsd.org>
Fri, 25 Jul 2008 17:20:27 +0000 (17:20 +0000)
committermglocker <mglocker@openbsd.org>
Fri, 25 Jul 2008 17:20:27 +0000 (17:20 +0000)
commit41e668278021a89aea9ff776f24e4abf9707972f
tree0681707052d9d92c8a689973bf666b3d19e23ff4
parent7c48ffbe41b4c3205d546ac389cf9f307f0719ae
After our recent changes, VIDIOC_S_FMT didn't always return the correct
maximum image size.  Fix it.  Makes read(2) method work again.
sys/dev/usb/uvideo.c