libv4l: Make v4l2_get_control report errors
authorHans de Goede <hdegoede@redhat.com>
Tue, 8 Jun 2010 08:01:20 +0000 (10:01 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 8 Jun 2010 08:01:20 +0000 (10:01 +0200)
commitfff9b6a0415c1c60e7c7a7a44cd9d33ae865c9e1
tree204f0ed9aca058a94c4130da97f50b6698513eea
parentd5bca073a6d901300fb41de7712fa2136dda9e26
libv4l: Make v4l2_get_control report errors

And handle those errors at the places calling v4l2_get_control.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
lib/include/libv4l2.h
lib/libv4l1/libv4l1.c
lib/libv4l2/libv4l2.c