aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/go7007/go7007-fw.c
Commit message (Collapse)AuthorAge
* [media] go7007: Fix returned errno code in gen_mjpeghdr_to_package()Javier Martinez Canillas2015-10-01
| | | | | | | | | | | | | | The driver is using -1 instead of the -ENOMEM defined macro to specify that a buffer allocation failed. Since the error number is propagated, the caller will get a -EPERM which is the wrong error condition. Also, the smatch tool complains with the following warning: gen_mjpeghdr_to_package() warn: returning -1 instead of -ENOMEM is sloppy Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
* [media] go7007: move out of staging into drivers/media/usb.Hans Verkuil2014-07-22
Now that the custom motion detection API in this driver has been replaced with a standard API there is no reason anymore to keep it in staging. So (finally!) move it to drivers/media/usb. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>