Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 124562
b: refs/heads/master
c: a85bdac
h: refs/heads/master
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Mauro Carvalho Chehab committed Dec 30, 2008
1 parent 4a21dde commit d265c21
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 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: 06daa1af4d207e93c9a8a3e54adef8635ba81c94
refs/heads/master: a85bdace0c5f951ff614aa5b7cf6acb03f7955bf
6 changes: 3 additions & 3 deletions trunk/drivers/media/video/mt9m001.c
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ static int mt9m001_video_probe(struct soc_camera_device *icd)
return -ENODEV;

/* Enable the chip */
data = reg_write(&mt9m001->icd, MT9M001_CHIP_ENABLE, 1);
data = reg_write(icd, MT9M001_CHIP_ENABLE, 1);
dev_dbg(&icd->dev, "write: %d\n", data);

/* Read out the chip version register */
Expand Down Expand Up @@ -642,8 +642,8 @@ static void mt9m001_video_remove(struct soc_camera_device *icd)
struct mt9m001 *mt9m001 = container_of(icd, struct mt9m001, icd);

dev_dbg(&icd->dev, "Video %x removed: %p, %p\n", mt9m001->client->addr,
mt9m001->icd.dev.parent, mt9m001->icd.vdev);
soc_camera_video_stop(&mt9m001->icd);
icd->dev.parent, icd->vdev);
soc_camera_video_stop(icd);
}

static int mt9m001_probe(struct i2c_client *client,
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/video/mt9v022.c
Original file line number Diff line number Diff line change
Expand Up @@ -766,8 +766,8 @@ static void mt9v022_video_remove(struct soc_camera_device *icd)
struct mt9v022 *mt9v022 = container_of(icd, struct mt9v022, icd);

dev_dbg(&icd->dev, "Video %x removed: %p, %p\n", mt9v022->client->addr,
mt9v022->icd.dev.parent, mt9v022->icd.vdev);
soc_camera_video_stop(&mt9v022->icd);
icd->dev.parent, icd->vdev);
soc_camera_video_stop(icd);
}

static int mt9v022_probe(struct i2c_client *client,
Expand Down

0 comments on commit d265c21

Please sign in to comment.