summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/pac7311.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-01-20 14:03:31 +0100
committerJean-Francois Moine <moinejf@free.fr>2009-01-20 14:03:31 +0100
commit7eeca606e6f069419f33e54b3eda52bfe545bc43 (patch)
treee2202d2a5f34b5b12ea99c552eb76d943a2de279 /linux/drivers/media/video/gspca/pac7311.c
parent8b8d5d53029339f50706bc1a3b099cedae2abf6a (diff)
parent5b8037b48a2ec01ef6b8cb460a96db73d5d276ba (diff)
downloadmediapointer-dvb-s2-7eeca606e6f069419f33e54b3eda52bfe545bc43.tar.gz
mediapointer-dvb-s2-7eeca606e6f069419f33e54b3eda52bfe545bc43.tar.bz2
merge:v4l-dvb
Diffstat (limited to 'linux/drivers/media/video/gspca/pac7311.c')
-rw-r--r--linux/drivers/media/video/gspca/pac7311.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/linux/drivers/media/video/gspca/pac7311.c b/linux/drivers/media/video/gspca/pac7311.c
index 83ab0df0e..6a857805a 100644
--- a/linux/drivers/media/video/gspca/pac7311.c
+++ b/linux/drivers/media/video/gspca/pac7311.c
@@ -512,7 +512,6 @@ static int sd_config(struct gspca_dev *gspca_dev,
struct cam *cam;
cam = &gspca_dev->cam;
- cam->epaddr = 0x05;
sd->sensor = id->driver_info;
if (sd->sensor == SENSOR_PAC7302) {
@@ -1111,8 +1110,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;
}