commit | 583958cba72ffd092e9e3c8a8a284cb154c34b1c | [log] [tgz] |
---|---|---|
author | Philipp Zabel <p.zabel@pengutronix.de> | Fri Apr 12 11:51:35 2019 -0400 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Wed May 08 13:58:20 2019 -0400 |
tree | 42f766db0a0da58a01963f1a79c0109333af4333 | |
parent | 1e4e25c4959c10728fbfcc6a286f9503d32dfe02 [diff] |
media: coda: fix unset field and fail on invalid field in buf_prepare v4l2-compliance likes to queue a buffer with field set to V4L2_FIELD_ANY and expects it to be returned corrected to a valid field. Follow vicodec in handling this in the buf_prepare callback. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>