V4L: soc-camera: Add support for custom host mmap
authorSergio Aguirre <saaguirre@ti.com>
Thu, 20 Jan 2011 17:12:50 +0000 (11:12 -0600)
committerSergio Aguirre <saaguirre@ti.com>
Tue, 30 Aug 2011 19:05:50 +0000 (14:05 -0500)
commitbd661c68a0930353e98faff573032b00a98e17d1
tree93c41085379756fba11070ef24ee0679dbd73e08
parent3ce9e25f213280d2e0d149b620f734e70400ff5e
V4L: soc-camera: Add support for custom host mmap

This helps redirect mmap calls to custom memory managers which
already have preallocated space to use by the device.

Otherwise, device might not support the allocation attempted
generically by videobuf.

Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
drivers/media/video/soc_camera.c
include/media/soc_camera.h