Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320624
b: refs/heads/master
c: 2744782
h: refs/heads/master
v: v3
  • Loading branch information
Laurent Pinchart authored and Mauro Carvalho Chehab committed Jul 30, 2012
1 parent 66c4458 commit bc6172b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 1858c99db41eec26bb33e6b67020a41705e83faf
refs/heads/master: 2744782ef15151469ddd1e28c14e4b2c950be6dd
6 changes: 3 additions & 3 deletions trunk/drivers/media/video/soc_camera.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ static int soc_camera_power_on(struct soc_camera_device *icd,
}

if (icl->power) {
ret = icl->power(icd->pdev, 1);
ret = icl->power(icd->control, 1);
if (ret < 0) {
dev_err(icd->pdev,
"Platform failed to power-on the camera.\n");
Expand All @@ -78,7 +78,7 @@ static int soc_camera_power_on(struct soc_camera_device *icd,

esdpwr:
if (icl->power)
icl->power(icd->pdev, 0);
icl->power(icd->control, 0);
elinkpwr:
regulator_bulk_disable(icl->num_regulators,
icl->regulators);
Expand All @@ -95,7 +95,7 @@ static int soc_camera_power_off(struct soc_camera_device *icd,
return ret;

if (icl->power) {
ret = icl->power(icd->pdev, 0);
ret = icl->power(icd->control, 0);
if (ret < 0) {
dev_err(icd->pdev,
"Platform failed to power-off the camera.\n");
Expand Down

0 comments on commit bc6172b

Please sign in to comment.