The patch number 10363 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 - spca500: Abnormal error message when starting ClickSmart310.
Priority: normal
Signed-off-by: Jean-Francois Moine <[email protected]>
---
linux/drivers/media/video/gspca/spca500.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff -r 10b7e4064ce5 -r d183605b0958 linux/drivers/media/video/gspca/spca500.c
--- a/linux/drivers/media/video/gspca/spca500.c Thu Jan 15 12:03:07 2009 +0100
+++ b/linux/drivers/media/video/gspca/spca500.c Thu Jan 15 13:34:55 2009 +0100
@@ -728,7 +728,8 @@ static int sd_start(struct gspca_dev *gs
write_vector(gspca_dev, spca500_visual_defaults);
spca500_setmode(gspca_dev, xmult, ymult);
/* enable drop packet */
- reg_w(gspca_dev, 0x00, 0x850a, 0x0001);
+ err = reg_w(gspca_dev, 0x00, 0x850a, 0x0001);
+ if (err < 0)
PDEBUG(D_ERR, "failed to enable drop packet");
reg_w(gspca_dev, 0x00, 0x8880, 3);
err = spca50x_setup_qtable(gspca_dev,
---
Patch is available at:
http://linuxtv.org/hg/v4l-dvb/rev/d183605b0958b8b7d45913b0a1c37321618354cd
_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits