mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 14:14:24 +08:00
media: vivid: drop GFP_DMA32
>From what I can see, this is not needed. And since using it issues a 'deprecated' warning, just drop it. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
eb1d969203
commit
957148e228
@ -357,7 +357,7 @@ int vivid_fb_init(struct vivid_dev *dev)
|
||||
int ret;
|
||||
|
||||
dev->video_buffer_size = MAX_OSD_HEIGHT * MAX_OSD_WIDTH * 2;
|
||||
dev->video_vbase = kzalloc(dev->video_buffer_size, GFP_KERNEL | GFP_DMA32);
|
||||
dev->video_vbase = kzalloc(dev->video_buffer_size, GFP_KERNEL);
|
||||
if (dev->video_vbase == NULL)
|
||||
return -ENOMEM;
|
||||
dev->video_pbase = virt_to_phys(dev->video_vbase);
|
||||
|
Loading…
Reference in New Issue
Block a user