]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: s5p-mfc: fix mmap support for 64bit arch
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 4 Mar 2015 13:55:21 +0000 (10:55 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 19:59:40 +0000 (16:59 -0300)
commit9ffaf9cb839ed099369bb70b991d47950f13ef1e
tree9e288828d42ee1fd640920bc795cc81ed26bafa5
parent636febef3ec4619c8a2fe567a31337ce5685b6de
[media] media: s5p-mfc: fix mmap support for 64bit arch

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).

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>
drivers/media/platform/s5p-mfc/s5p_mfc_common.h