summaryrefslogtreecommitdiff
path: root/drivers/media/platform/vivid/vivid-touch-cap.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2019-12-15 12:09:32 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2019-12-16 13:24:16 +0100
commit0885acd77eb4644fd88f6d9f41e433f4ee9bc37a (patch)
treeedbf07e1f90613cc6fba5211412ee25025fda16f /drivers/media/platform/vivid/vivid-touch-cap.h
parent095c21d31b7bd04d91d81a4a8c703a9d25c3658a (diff)
media: vivid: support multiplanar touch devices
The v4l2-compliance tests failed with the touch device when multiplanar was enabled in vivid. Since it is perfectly fine to support the multiplanar API for touch, add support for this in vivid. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/platform/vivid/vivid-touch-cap.h')
-rw-r--r--drivers/media/platform/vivid/vivid-touch-cap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/vivid/vivid-touch-cap.h b/drivers/media/platform/vivid/vivid-touch-cap.h
index 761050b652eb..07e514046ae8 100644
--- a/drivers/media/platform/vivid/vivid-touch-cap.h
+++ b/drivers/media/platform/vivid/vivid-touch-cap.h
@@ -28,6 +28,7 @@ extern const struct vb2_ops vivid_touch_cap_qops;
int vivid_enum_fmt_tch(struct file *file, void *priv, struct v4l2_fmtdesc *f);
int vivid_g_fmt_tch(struct file *file, void *priv, struct v4l2_format *f);
+int vivid_g_fmt_tch_mplane(struct file *file, void *priv, struct v4l2_format *f);
int vivid_enum_input_tch(struct file *file, void *priv, struct v4l2_input *inp);
int vivid_g_input_tch(struct file *file, void *priv, unsigned int *i);
int vivid_s_input_tch(struct file *file, void *priv, unsigned int i);