diff options
Diffstat (limited to 'drivers/media/video/mt9v022.c')
-rw-r--r-- | drivers/media/video/mt9v022.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/mt9v022.c b/drivers/media/video/mt9v022.c index 6a784c87e5ff..e313d8390092 100644 --- a/drivers/media/video/mt9v022.c +++ b/drivers/media/video/mt9v022.c | |||
@@ -95,7 +95,7 @@ static const struct mt9v022_datafmt mt9v022_colour_fmts[] = { | |||
95 | static const struct mt9v022_datafmt mt9v022_monochrome_fmts[] = { | 95 | static const struct mt9v022_datafmt mt9v022_monochrome_fmts[] = { |
96 | /* Order important - see above */ | 96 | /* Order important - see above */ |
97 | {V4L2_MBUS_FMT_Y10_1X10, V4L2_COLORSPACE_JPEG}, | 97 | {V4L2_MBUS_FMT_Y10_1X10, V4L2_COLORSPACE_JPEG}, |
98 | {V4L2_MBUS_FMT_GREY8_1X8, V4L2_COLORSPACE_JPEG}, | 98 | {V4L2_MBUS_FMT_Y8_1X8, V4L2_COLORSPACE_JPEG}, |
99 | }; | 99 | }; |
100 | 100 | ||
101 | struct mt9v022 { | 101 | struct mt9v022 { |
@@ -392,7 +392,7 @@ static int mt9v022_s_fmt(struct v4l2_subdev *sd, | |||
392 | * icd->try_fmt(), datawidth is from our supported format list | 392 | * icd->try_fmt(), datawidth is from our supported format list |
393 | */ | 393 | */ |
394 | switch (mf->code) { | 394 | switch (mf->code) { |
395 | case V4L2_MBUS_FMT_GREY8_1X8: | 395 | case V4L2_MBUS_FMT_Y8_1X8: |
396 | case V4L2_MBUS_FMT_Y10_1X10: | 396 | case V4L2_MBUS_FMT_Y10_1X10: |
397 | if (mt9v022->model != V4L2_IDENT_MT9V022IX7ATM) | 397 | if (mt9v022->model != V4L2_IDENT_MT9V022IX7ATM) |
398 | return -EINVAL; | 398 | return -EINVAL; |