diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2009-01-15 07:34:55 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:42:32 -0400 |
commit | 48d7a8912751d46f5401cbd86eb6408b48050da2 (patch) | |
tree | 8b1a2e85cc701b253289eb47b603015e6e08dffa | |
parent | 592f4eb9a2dc63afdbe78e2874d728f6e9e1e9f0 (diff) |
V4L/DVB (10363): gspca - spca500: Abnormal error message when starting ClickSmart310.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/video/gspca/spca500.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/spca500.c b/drivers/media/video/gspca/spca500.c index 62c12fa10570..f44613095d2e 100644 --- a/drivers/media/video/gspca/spca500.c +++ b/drivers/media/video/gspca/spca500.c | |||
@@ -711,7 +711,8 @@ static int sd_start(struct gspca_dev *gspca_dev) | |||
711 | write_vector(gspca_dev, spca500_visual_defaults); | 711 | write_vector(gspca_dev, spca500_visual_defaults); |
712 | spca500_setmode(gspca_dev, xmult, ymult); | 712 | spca500_setmode(gspca_dev, xmult, ymult); |
713 | /* enable drop packet */ | 713 | /* enable drop packet */ |
714 | reg_w(gspca_dev, 0x00, 0x850a, 0x0001); | 714 | err = reg_w(gspca_dev, 0x00, 0x850a, 0x0001); |
715 | if (err < 0) | ||
715 | PDEBUG(D_ERR, "failed to enable drop packet"); | 716 | PDEBUG(D_ERR, "failed to enable drop packet"); |
716 | reg_w(gspca_dev, 0x00, 0x8880, 3); | 717 | reg_w(gspca_dev, 0x00, 0x8880, 3); |
717 | err = spca50x_setup_qtable(gspca_dev, | 718 | err = spca50x_setup_qtable(gspca_dev, |