[media] ivtv: Convert to get_user_pages_unlocked()
authorJan Kara <jack@suse.cz>
Tue, 6 Oct 2015 09:24:30 +0000 (06:24 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 20 Oct 2015 17:59:01 +0000 (15:59 -0200)
commit520e82d44b6d74d35d296ba6ceb990552ce9fb82
tree78ade624998c944b0fd1c33d33c489b092f80041
parent759b26a1d916400a1a20948eb964dea6ad0bd9e9
[media] ivtv: Convert to get_user_pages_unlocked()

Convert ivtv_yuv_prep_user_dma() to use get_user_pages_unlocked() so
that we don't unnecessarily leak knowledge about mm locking into drivers
code.

CC: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/ivtv/ivtv-yuv.c