]> asedeno.scripts.mit.edu Git - linux.git/commit
media: tw686x: Fix incorrect vb2_mem_ops GFP flags
authorEzequiel Garcia <ezequiel@collabora.com>
Fri, 18 May 2018 21:07:48 +0000 (17:07 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 28 May 2018 20:21:41 +0000 (16:21 -0400)
commit636757ab6c93e19e2f58d3b3af1312e34eaffbab
treefe99c6548360a0e06153c1d001a8c639e907d7f0
parent9e73d231b895b6c44279b9d5cb72b7101a9d2fc3
media: tw686x: Fix incorrect vb2_mem_ops GFP flags

When the driver is configured in the "memcpy" dma-mode,
it uses vb2_vmalloc_memops, which is backed by a SLAB
allocator and so shouldn't be using GFP_DMA32.

Fix it.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/pci/tw686x/tw686x-video.c