[media] usbvision: return valid error in usbvision_register_video()
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 20 Jul 2015 12:59:30 +0000 (09:59 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Aug 2015 09:50:08 +0000 (06:50 -0300)
commit2b43665ffbca7fe38617442cf731332afc94ead2
tree163b448649b92b343f6b3db7f14acb6616e9189c
parentfd95870d1bd6d7da7e7d0c550bfaae6d76f0799f
[media] usbvision: return valid error in usbvision_register_video()

Don't return -1, return a proper error code.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/usbvision/usbvision-video.c