1
0
Fork 0
remarkable-linux/drivers/media
Javier Martinez Canillas c160382ab0 media: Revert "[media] tvp5150: fix pad format frame height"
commit 1831af0923 upstream.

This reverts commit 0866df8dff.

The v4l uAPI documentation [0] makes clear that in the case of interlaced
video (i.e: field is V4L2_FIELD_ALTERNATE) the height refers to the number
of lines in the field and not the number of lines in the full frame (which
is twice the field height for interlaced formats).

So the original height calculation was correct, and it shouldn't had been
changed by the mentioned commit.

[0]:https://linuxtv.org/downloads/v4l-dvb-apis/uapi/v4l/subdev-formats.html

Fixes: 0866df8dff ("[media] tvp5150: fix pad format frame height")

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Cc: <stable@vger.kernel.org>      # for v4.12 and up
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-09 19:55:53 +02:00
..
cec License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
common media: siano: get rid of __le32/__le16 cast warnings 2018-08-03 07:50:37 +02:00
dvb-core media: dvb_frontend: fix locking issues at dvb_frontend_get_event() 2018-07-03 11:25:02 +02:00
dvb-frontends media: lgdt3306a: Fix a double kfree on i2c device remove 2018-05-25 16:17:56 +02:00
firewire [media] firewire: don't break long lines 2016-10-21 10:06:00 -02:00
i2c media: Revert "[media] tvp5150: fix pad format frame height" 2018-09-09 19:55:53 +02:00
mmc License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci media: saa7164: Fix driver name in debug output 2018-08-03 07:50:35 +02:00
platform media: omap3isp: fix unbalanced dma_iommu_mapping 2018-08-03 07:50:40 +02:00
radio media: si470x: fix __be16 annotations 2018-08-03 07:50:41 +02:00
rc media: rc: oops in ir_timer_keyup after device unplug 2018-07-22 14:28:48 +02:00
spi [media] gs1662: drop kfree for memory allocated with devm_kzalloc 2016-10-24 17:59:08 -02:00
tuners media: r820t: fix r820t_write_reg for KASAN 2018-02-22 15:42:32 +01:00
usb media: cx231xx: Add support for AverMedia DVD EZMaker 7 2018-07-03 11:25:02 +02:00
v4l2-core media: videobuf2-core: don't call memop 'finish' when queueing 2018-08-03 07:50:28 +02:00
Kconfig media: rc-core: do not depend on MEDIA_SUPPORT 2017-08-20 09:39:36 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
media-device.c media: media-device: fix ioctl function types 2018-08-03 07:50:35 +02:00
media-devnode.c media: utilize new cdev_device_add helper function 2017-03-21 06:44:33 +01:00
media-entity.c media: Make parameter of media_entity_remote_pad() const 2017-07-20 16:54:04 -04:00