[media] V4L: soc_camera: allow reading from video device if supported
authorAnatolij Gustschin <agust@denx.de>
Fri, 24 Aug 2012 14:36:11 +0000 (11:36 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 22 Nov 2012 13:33:18 +0000 (11:33 -0200)
commit1438be56ade16653584f70a2e2a1c11197291271
tree33a9d9fc6da17135ea4788f40edf63132a382181
parent0dc2d8496191510ab237bff969480d8318705625
[media] V4L: soc_camera: allow reading from video device if supported

Try reading on video device. If the camera bus driver supports reading
we can try it and return the result. Also add a debug line.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/soc_camera/soc_camera.c