diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2009-01-01 20:31:12 +0100 |
---|---|---|
committer | Jean-Francois Moine <moinejf@free.fr> | 2009-01-01 20:31:12 +0100 |
commit | 49ca9ac4b90c1edaa71c4c739b6934c1dee0a594 (patch) | |
tree | 998d5ac2a789385656d017225cb134fd435bbf5c /linux/drivers/media/video/gspca/spca561.c | |
parent | 70e0ec035b78cab8338a5b20518bfc1d1307b7ad (diff) | |
parent | 3bdb904852c74d8c0d7c55a17fb9ed559ae1e855 (diff) | |
download | mediapointer-dvb-s2-49ca9ac4b90c1edaa71c4c739b6934c1dee0a594.tar.gz mediapointer-dvb-s2-49ca9ac4b90c1edaa71c4c739b6934c1dee0a594.tar.bz2 |
merge: v4l-dvb
Diffstat (limited to 'linux/drivers/media/video/gspca/spca561.c')
-rw-r--r-- | linux/drivers/media/video/gspca/spca561.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/linux/drivers/media/video/gspca/spca561.c b/linux/drivers/media/video/gspca/spca561.c index 499511fa0..b991ddde5 100644 --- a/linux/drivers/media/video/gspca/spca561.c +++ b/linux/drivers/media/video/gspca/spca561.c @@ -548,7 +548,6 @@ static int sd_config(struct gspca_dev *gspca_dev, } cam = &gspca_dev->cam; - cam->epaddr = 0x01; gspca_dev->nbalt = 7 + 1; /* choose alternate 7 first */ sd->chip_revision = id->driver_info; @@ -1204,8 +1203,10 @@ static struct usb_driver sd_driver = { /* -- module insert / remove -- */ static int __init sd_mod_init(void) { - if (usb_register(&sd_driver) < 0) - return -1; + int ret; + ret = usb_register(&sd_driver); + if (ret < 0) + return ret; PDEBUG(D_PROBE, "registered"); return 0; } |