[media] media: s5p-mfc: fix mmap support for 64bit arch
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 4 Mar 2015 13:55:21 +0000 (05:55 -0800)
committerSasha Levin <sasha.levin@oracle.com>
Fri, 24 Apr 2015 21:14:08 +0000 (17:14 -0400)
commit9785703f29f13b04e70dfa179fe8918f8c8747fc
treeb2c9c9314ebfa57654e102625f087d7d581e20d6
parent632f8dff8476d9f481bdfa66e0bfe591003382cc
[media] media: s5p-mfc: fix mmap support for 64bit arch

[ Upstream commit 05b676ab42f624425d5f6519276e506b812fa058 ]

TASK_SIZE is depends on the systems architecture (32 or 64 bits) and it
should not be used for defining offset boundary for mmaping buffers for
CAPTURE and OUTPUT queues. This patch fixes support for MMAP calls on
the CAPTURE queue on 64bit architectures (like ARM64).

Cc: stable@vger.kernel.org
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/media/platform/s5p-mfc/s5p_mfc_common.h