The patch number 10382 was added via Jean-Francois Moine <[email protected]>
to http://linuxtv.org/hg/v4l-dvb master development tree.
Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel
If anyone has any objections, please let us know by sending a message to:
Linux Media Mailing List <[email protected]>
------
From: Jean-Francois Moine <[email protected]>
gspca - t613: Bad returned value when no known sensor found.
Priority: normal
Signed-off-by: Jean-Francois Moine <[email protected]>
---
linux/drivers/media/video/gspca/t613.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -r a40183e51921 -r adda74ede20d linux/drivers/media/video/gspca/t613.c
--- a/linux/drivers/media/video/gspca/t613.c Thu Jan 22 12:25:16 2009 +0100
+++ b/linux/drivers/media/video/gspca/t613.c Thu Jan 22 16:53:56 2009 +0100
@@ -694,7 +694,7 @@ static int sd_init(struct gspca_dev *gsp
break;
default:
PDEBUG(D_CONF, "unknown sensor %04x", sensor_id);
- return -1;
+ return -EINVAL;
}
if (sd->sensor != SENSOR_OTHER) {
---
Patch is available at:
http://linuxtv.org/hg/v4l-dvb/rev/adda74ede20d1d56721e83569550994e4f929965
_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits