]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
v4l: xilinx: sdirxss: Correct the height of SD 525i to 486
authorVishal Sagar <vishal.sagar@xilinx.com>
Wed, 13 Jun 2018 04:15:57 +0000 (09:45 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 19 Jun 2018 08:29:13 +0000 (10:29 +0200)
Correct the height of SD 525i NTSC resolution from 480 to 486.

Signed-off-by: Vishal Sagar <vishal.sagar@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/media/platform/xilinx/xilinx-sdirxss.c

index 1d360d1592b81970c9ff3a31d5d3ae58ddf31f08..5d22324ef950cd7fe7e44213a22b8d2b2dd9b622 100644 (file)
  * @XSDIRX_SMPTE_ST_296: SMPTE ST 296 detected with AP 1280x720
  * @XSDIRX_SMPTE_ST_2048_2: SMPTE ST 2048-2 detected with AP 2048x1080
  * @XSDIRX_SMPTE_ST_295: SMPTE ST 295 detected with AP 1920x1080
- * @XSDIRX_NTSC: NTSC encoding detected with AP 720x480
+ * @XSDIRX_NTSC: NTSC encoding detected with AP 720x486
  * @XSDIRX_PAL: PAL encoding detected with AP 720x576
  * @XSDIRX_TS_UNKNOWN: Unknown SMPTE Transport family type
  */
@@ -725,7 +725,7 @@ static int xsdirx_get_stream_properties(struct xsdirxss_state *state)
                switch (family) {
                case XSDIRX_NTSC:
                        format->width = 720;
-                       format->height = 480;
+                       format->height = 486;
                        break;
                case XSDIRX_PAL:
                        format->width = 720;