aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/mt9m111.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/mt9m111.c')
-rw-r--r--drivers/media/video/mt9m111.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c
index 29f976afd465..45101fd90ce0 100644
--- a/drivers/media/video/mt9m111.c
+++ b/drivers/media/video/mt9m111.c
@@ -948,16 +948,16 @@ static int mt9m111_probe(struct i2c_client *client,
948 v4l2_i2c_subdev_init(&mt9m111->subdev, client, &mt9m111_subdev_ops); 948 v4l2_i2c_subdev_init(&mt9m111->subdev, client, &mt9m111_subdev_ops);
949 949
950 /* Second stage probe - when a capture adapter is there */ 950 /* Second stage probe - when a capture adapter is there */
951 icd->ops = &mt9m111_ops; 951 icd->ops = &mt9m111_ops;
952 icd->x_min = MT9M111_MIN_DARK_COLS; 952 icd->rect_max.left = MT9M111_MIN_DARK_COLS;
953 icd->y_min = MT9M111_MIN_DARK_ROWS; 953 icd->rect_max.top = MT9M111_MIN_DARK_ROWS;
954 icd->x_current = icd->x_min; 954 icd->rect_max.width = MT9M111_MAX_WIDTH;
955 icd->y_current = icd->y_min; 955 icd->rect_max.height = MT9M111_MAX_HEIGHT;
956 icd->width_min = MT9M111_MIN_DARK_ROWS; 956 icd->rect_current.left = icd->rect_max.left;
957 icd->width_max = MT9M111_MAX_WIDTH; 957 icd->rect_current.top = icd->rect_max.top;
958 icd->height_min = MT9M111_MIN_DARK_COLS; 958 icd->width_min = MT9M111_MIN_DARK_ROWS;
959 icd->height_max = MT9M111_MAX_HEIGHT; 959 icd->height_min = MT9M111_MIN_DARK_COLS;
960 icd->y_skip_top = 0; 960 icd->y_skip_top = 0;
961 961
962 ret = mt9m111_video_probe(icd, client); 962 ret = mt9m111_video_probe(icd, client);
963 if (ret) { 963 if (ret) {