Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144345
b: refs/heads/master
c: 9d63cec
h: refs/heads/master
i:
  144343: 20eea21
v: v3
  • Loading branch information
Dean Anderson authored and Mauro Carvalho Chehab committed Apr 29, 2009
1 parent ca42d6a commit 0ad1961
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 272aa3966b3244e576c5c07bfff77ea320b89317
refs/heads/master: 9d63cec16829ac3600c5014d207a659df3b93c9a
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/s2255drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1237,6 +1237,7 @@ static int s2255_set_mode(struct s2255_dev *dev, unsigned long chn,
buffer[1] = (u32) chn_rev;
buffer[2] = CMD_SET_MODE;
memcpy(&buffer[3], &dev->mode[chn], sizeof(struct s2255_mode));
dev->setmode_ready[chn] = 0;
res = s2255_write_config(dev->udev, (unsigned char *)buffer, 512);
if (debug)
dump_verify_mode(dev, mode);
Expand All @@ -1245,7 +1246,6 @@ static int s2255_set_mode(struct s2255_dev *dev, unsigned long chn,

/* wait at least 3 frames before continuing */
if (mode->restart) {
dev->setmode_ready[chn] = 0;
wait_event_timeout(dev->wait_setmode[chn],
(dev->setmode_ready[chn] != 0),
msecs_to_jiffies(S2255_SETMODE_TIMEOUT));
Expand Down

0 comments on commit 0ad1961

Please sign in to comment.