]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
[media] soc_camera: fix expbuf support
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 15 Jun 2015 11:33:37 +0000 (08:33 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Aug 2015 12:52:16 +0000 (09:52 -0300)
commiteb01b1bca9ac7644f178384a594881f2b3433773
tree0c94fa4a17176c88a924e8c07103f8cf8a33fee0
parentd53c0f72757664d9011263cf655f49959d644028
[media] soc_camera: fix expbuf support

- For vb1 drivers just return -ENOTTY.
- For vb2 drivers allow vb2_expbuf without there being a stream owner:
  the vb2_expbuf function will return the correct error message in that case.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/soc_camera/soc_camera.c