OSDN Git Service

adv7481: Fix CVBS input resolution.
authorSuprith Malligere Shankaregowda <supgow@codeaurora.org>
Thu, 15 Mar 2018 12:18:01 +0000 (17:48 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Fri, 16 Mar 2018 04:07:29 +0000 (21:07 -0700)
Modify CVBS resolution to 720x507 so that
cvbs frames displayed correctly.

Change-Id: I036aaa4606ff00aab107834fc3e39a5a096c3d87
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
drivers/media/i2c/adv7481.c

index 7cac0a8..aa9dcc6 100644 (file)
@@ -1998,7 +1998,7 @@ static int adv7481_get_fmt(struct v4l2_subdev *sd,
                fmt->code = MEDIA_BUS_FMT_UYVY8_2X8;
                fmt->colorspace = V4L2_COLORSPACE_SMPTE170M;
                fmt->width = 720;
-               fmt->height = 576;
+               fmt->height = 507;
                break;
        default:
                return -EINVAL;