media: atomisp: use pin_user_pages() for memory allocation
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 26 May 2020 10:07:26 +0000 (12:07 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Jun 2020 16:12:33 +0000 (18:12 +0200)
commit14a638ab96c518f93386eae1ac460e459e775ea2
tree0119e4964537c5295b28c3b2876a66baa73dfcbf
parent19ae08554fe873136ac3f1c0d66aa0f5ac9f69dc
media: atomisp: use pin_user_pages() for memory allocation

Instead of using a hacked version of an old copy of
get_user_pages(), use pin_user_pages().

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/include/hmm/hmm_bo.h
drivers/staging/media/atomisp/pci/hmm/hmm_bo.c