media: videobuf2-dma-nvmap: fixing nvmap_alloc failure
authorBryan Wu <pengw@nvidia.com>
Wed, 9 Jan 2013 19:18:43 +0000 (11:18 -0800)
committerMatthew Pedro <mapedro@nvidia.com>
Fri, 11 Jan 2013 21:38:35 +0000 (13:38 -0800)
commita723afef635b98add42cbf28614740df38d90a98
tree4dff4b5705857720590a04d7d05b307d5096922a
parente4e11f3c524c2679ee007588e2199a5c22a6a104
media: videobuf2-dma-nvmap: fixing nvmap_alloc failure

Videobuf2-dma-nvmap driver using by Tegra v4l2 camera driver needs to
allocation memory from system memory with nvmap_alloc(). If we don't
enable config option CONFIG_NVMAP_ALLOW_SYSMEM, nvmap_alloc() will
fail and application stops working.

Bug 1215629

Change-Id: I40af697d8aee1a4981a9684953107dd070cc9bea
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/190037
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Andrew Chew <achew@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
drivers/media/video/Kconfig