aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/mt9v022.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-09-28 06:01:44 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 03:53:23 -0400
commit076704332ca6da550cbc279918ef8b88b4ac1e45 (patch)
tree0a924fb5817d63f33f329992372d3a4215d10d80 /drivers/media/video/mt9v022.c
parent84d0688dfc7eedb2147532bf52ff7073d5c3c7b9 (diff)
[media] v4l: Rename V4L2_MBUS_FMT_GREY8_1X8 to V4L2_MBUS_FMT_Y8_1X8
For consistency with the V4L2_MBUS_FMT_Y10_1X10 format. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/mt9v022.c')
-rw-r--r--drivers/media/video/mt9v022.c4
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[] = {
95static const struct mt9v022_datafmt mt9v022_monochrome_fmts[] = { 95static 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
101struct mt9v022 { 101struct 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;