diff options
Diffstat (limited to 'drivers/media/video/ov772x.c')
-rw-r--r-- | drivers/media/video/ov772x.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/ov772x.c b/drivers/media/video/ov772x.c index 34034a710214..25eb5d637eea 100644 --- a/drivers/media/video/ov772x.c +++ b/drivers/media/video/ov772x.c | |||
@@ -440,21 +440,21 @@ static const struct regval_list ov772x_vga_regs[] = { | |||
440 | */ | 440 | */ |
441 | static const struct ov772x_color_format ov772x_cfmts[] = { | 441 | static const struct ov772x_color_format ov772x_cfmts[] = { |
442 | { | 442 | { |
443 | .code = V4L2_MBUS_FMT_YUYV8_2X8_LE, | 443 | .code = V4L2_MBUS_FMT_YUYV8_2X8, |
444 | .colorspace = V4L2_COLORSPACE_JPEG, | 444 | .colorspace = V4L2_COLORSPACE_JPEG, |
445 | .dsp3 = 0x0, | 445 | .dsp3 = 0x0, |
446 | .com3 = SWAP_YUV, | 446 | .com3 = SWAP_YUV, |
447 | .com7 = OFMT_YUV, | 447 | .com7 = OFMT_YUV, |
448 | }, | 448 | }, |
449 | { | 449 | { |
450 | .code = V4L2_MBUS_FMT_YVYU8_2X8_LE, | 450 | .code = V4L2_MBUS_FMT_YVYU8_2X8, |
451 | .colorspace = V4L2_COLORSPACE_JPEG, | 451 | .colorspace = V4L2_COLORSPACE_JPEG, |
452 | .dsp3 = UV_ON, | 452 | .dsp3 = UV_ON, |
453 | .com3 = SWAP_YUV, | 453 | .com3 = SWAP_YUV, |
454 | .com7 = OFMT_YUV, | 454 | .com7 = OFMT_YUV, |
455 | }, | 455 | }, |
456 | { | 456 | { |
457 | .code = V4L2_MBUS_FMT_YUYV8_2X8_BE, | 457 | .code = V4L2_MBUS_FMT_UYVY8_2X8, |
458 | .colorspace = V4L2_COLORSPACE_JPEG, | 458 | .colorspace = V4L2_COLORSPACE_JPEG, |
459 | .dsp3 = 0x0, | 459 | .dsp3 = 0x0, |
460 | .com3 = 0x0, | 460 | .com3 = 0x0, |
@@ -960,7 +960,7 @@ static int ov772x_g_fmt(struct v4l2_subdev *sd, | |||
960 | if (!priv->win || !priv->cfmt) { | 960 | if (!priv->win || !priv->cfmt) { |
961 | u32 width = VGA_WIDTH, height = VGA_HEIGHT; | 961 | u32 width = VGA_WIDTH, height = VGA_HEIGHT; |
962 | int ret = ov772x_set_params(client, &width, &height, | 962 | int ret = ov772x_set_params(client, &width, &height, |
963 | V4L2_MBUS_FMT_YUYV8_2X8_LE); | 963 | V4L2_MBUS_FMT_YUYV8_2X8); |
964 | if (ret < 0) | 964 | if (ret < 0) |
965 | return ret; | 965 | return ret; |
966 | } | 966 | } |