Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138170
b: refs/heads/master
c: f340e3f
h: refs/heads/master
v: v3
  • Loading branch information
Kuninori Morimoto authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent 5e213f7 commit 0d38ae0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 025c18a19d7d7eb8745d25986f982a5f35a85157
refs/heads/master: f340e3f6f1c2061a65fd1cbd70e9e57e27d34212
4 changes: 4 additions & 0 deletions trunk/drivers/media/video/ov772x.c
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,8 @@ static int ov772x_start_capture(struct soc_camera_device *icd)
return -EPERM;
}

ov772x_mask_set(priv->client, COM2, SOFT_SLEEP_MODE, 0);

dev_dbg(&icd->dev,
"format %s, win %s\n", priv->fmt->name, priv->win->name);

Expand All @@ -654,6 +656,8 @@ static int ov772x_start_capture(struct soc_camera_device *icd)

static int ov772x_stop_capture(struct soc_camera_device *icd)
{
struct ov772x_priv *priv = container_of(icd, struct ov772x_priv, icd);
ov772x_mask_set(priv->client, COM2, SOFT_SLEEP_MODE, SOFT_SLEEP_MODE);
return 0;
}

Expand Down

0 comments on commit 0d38ae0

Please sign in to comment.