Not all devices support GET_DEF, fall back on GET_CUR if so.
authormglocker <mglocker@openbsd.org>
Fri, 25 Jul 2008 11:12:34 +0000 (11:12 +0000)
committermglocker <mglocker@openbsd.org>
Fri, 25 Jul 2008 11:12:34 +0000 (11:12 +0000)
commit904d0f53fdf9a03084df82f171cf8a15337c2908
tree00fe980043d164a52acba82e6043be6bab590a2a
parent8ed0fd6f5fd1709e9bafc9c667deba4dda8b12bd
Not all devices support GET_DEF, fall back on GET_CUR if so.

Reported and tested kettenis@
sys/dev/usb/uvideo.c