diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2009-01-15 13:34:55 +0100 |
---|---|---|
committer | Jean-Francois Moine <moinejf@free.fr> | 2009-01-15 13:34:55 +0100 |
commit | 473e801c172a3223775ab624c4fb22441f5abab8 (patch) | |
tree | 3d94e05c92d8fd75e42a0bdd20e1135b12e4a32f /linux/drivers/media | |
parent | f49a5157c054e2e8a53de306165b19b3cd04aa4c (diff) | |
download | mediapointer-dvb-s2-473e801c172a3223775ab624c4fb22441f5abab8.tar.gz mediapointer-dvb-s2-473e801c172a3223775ab624c4fb22441f5abab8.tar.bz2 |
gspca - spca500: Abnormal error message when starting ClickSmart310.
From: Jean-Francois Moine <moinejf@free.fr>
Priority: normal
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/video/gspca/spca500.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/spca500.c b/linux/drivers/media/video/gspca/spca500.c index 61b127022..94caba63b 100644 --- a/linux/drivers/media/video/gspca/spca500.c +++ b/linux/drivers/media/video/gspca/spca500.c @@ -728,7 +728,8 @@ static int sd_start(struct gspca_dev *gspca_dev) 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, |