Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271898
b: refs/heads/master
c: 2d06d5d
h: refs/heads/master
v: v3
  • Loading branch information
Jean-François Moine authored and Mauro Carvalho Chehab committed Sep 24, 2011
1 parent bbe15e5 commit c5a70cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7c2808e2fd4c30a19268215c2958d4a340f057c5
refs/heads/master: 2d06d5dd2d945780f24169af0ac86e1e03ffee19
15 changes: 0 additions & 15 deletions trunk/drivers/media/video/gspca/benq.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,20 +86,6 @@ static int sd_init(struct gspca_dev *gspca_dev)
return 0;
}

static int sd_isoc_init(struct gspca_dev *gspca_dev)
{
int ret;

ret = usb_set_interface(gspca_dev->dev, gspca_dev->iface,
gspca_dev->nbalt - 1);
if (ret < 0) {
pr_err("usb_set_interface failed\n");
return ret;
}
/* reg_w(gspca_dev, 0x0003, 0x0002); */
return 0;
}

/* -- start the camera -- */
static int sd_start(struct gspca_dev *gspca_dev)
{
Expand Down Expand Up @@ -271,7 +257,6 @@ static const struct sd_desc sd_desc = {
.nctrls = ARRAY_SIZE(sd_ctrls),
.config = sd_config,
.init = sd_init,
.isoc_init = sd_isoc_init,
.start = sd_start,
.stopN = sd_stopN,
.pkt_scan = sd_pkt_scan,
Expand Down

0 comments on commit c5a70cd

Please sign in to comment.