Commit f340e3f6 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (11028): ov772x: use soft sleep mode in stop_capture

Signed-off-by: default avatarKuninori Morimoto <>
Signed-off-by: default avatarGuennadi Liakhovetski <>
Signed-off-by: default avatarMauro Carvalho Chehab <>
parent 025c18a1
......@@ -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);
"format %s, win %s\n", priv->fmt->name, priv->win->name);
......@@ -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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment