[media] cobalt: accept unchanged timings when vb2_is_busy()
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 17 Jul 2015 11:29:40 +0000 (08:29 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 22 Jul 2015 14:04:25 +0000 (11:04 -0300)
commit810c168c233fc531ecd3e7a6d9e0b5a3ffe85da7
tree979df5c9181a40f839c9a91001d9e674f9224ca1
parentc99235fa3ef833c3c23926085f2bb68851c8460a
[media] cobalt: accept unchanged timings when vb2_is_busy()

When vb2_is_busy() it should still be possible to call S_DV_TIMINGS
provided the new timings are the same as the current timings.

For input 1 (test generator) the size is always 1080p, so just return
that.

Fixes a v4l2-compliance issue.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/cobalt/cobalt-v4l2.c