sun4i-csi: drop read/write, enable VB2_DMABUF
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 7 Jul 2020 13:32:59 +0000 (15:32 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 19 Jul 2020 05:45:35 +0000 (07:45 +0200)
commit71ecc5356d227072c7c31e44f6774d461fd4865f
tree18dc98147693b7cf0139403de956b270f900512a
parentde26c90fc40d7d32a6f3f71babad2547ab3b7abb
sun4i-csi: drop read/write, enable VB2_DMABUF

For no obvious reason VB2_DMABUF was not enabled. Add this.

Also both read and write file ops were set, but this was not enabled
in the vb2 io_modes or in the device_caps capabilities. Drop this.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c
drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c