]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcdc221f9e3c70a22bee8e798e444f48afac089e5
tree0119e4964537c5295b28c3b2876a66baa73dfcbf
parent7a9f4854877b9a07b23f8633d9a84e9b95009f48
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