Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273655
b: refs/heads/master
c: 5e89129
h: refs/heads/master
i:
  273653: fe45df9
  273651: c3c6043
  273647: 6e4561b
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Mauro Carvalho Chehab committed Nov 3, 2011
1 parent 9f11a0d commit 42e4676
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 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: 6a34874f9e86e727a9132a52d09b9a62f03bc449
refs/heads/master: 5e891294f6dd7af617275477946e75d20c5e8136
17 changes: 0 additions & 17 deletions trunk/drivers/media/video/mt9m111.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,21 +364,6 @@ static int mt9m111_reset(struct mt9m111 *mt9m111)
return ret;
}

static unsigned long mt9m111_query_bus_param(struct soc_camera_device *icd)
{
struct soc_camera_link *icl = to_soc_camera_link(icd);
unsigned long flags = SOCAM_MASTER | SOCAM_PCLK_SAMPLE_RISING |
SOCAM_HSYNC_ACTIVE_HIGH | SOCAM_VSYNC_ACTIVE_HIGH |
SOCAM_DATA_ACTIVE_HIGH | SOCAM_DATAWIDTH_8;

return soc_camera_apply_sensor_flags(icl, flags);
}

static int mt9m111_set_bus_param(struct soc_camera_device *icd, unsigned long f)
{
return 0;
}

static int mt9m111_make_rect(struct mt9m111 *mt9m111,
struct v4l2_rect *rect)
{
Expand Down Expand Up @@ -699,8 +684,6 @@ static const struct v4l2_queryctrl mt9m111_controls[] = {
};

static struct soc_camera_ops mt9m111_ops = {
.query_bus_param = mt9m111_query_bus_param,
.set_bus_param = mt9m111_set_bus_param,
.controls = mt9m111_controls,
.num_controls = ARRAY_SIZE(mt9m111_controls),
};
Expand Down

0 comments on commit 42e4676

Please sign in to comment.