From: John W. Linville Date: Mon, 25 Oct 2010 14:33:07 +0000 (-0400) Subject: rt2x00pci: do not use GFP_DMA X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b9237578f8d685bb86901ba9ff0d379218e5a3c5;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git rt2x00pci: do not use GFP_DMA Signed-off-by: John W. Linville Acked-by: Ivo van Doorn --- diff --git a/drivers/net/wireless/rt2x00/rt2x00pci.c b/drivers/net/wireless/rt2x00/rt2x00pci.c index 2449d785cf8d..868ca19b13ea 100644 --- a/drivers/net/wireless/rt2x00/rt2x00pci.c +++ b/drivers/net/wireless/rt2x00/rt2x00pci.c @@ -105,7 +105,7 @@ static int rt2x00pci_alloc_queue_dma(struct rt2x00_dev *rt2x00dev, */ addr = dma_alloc_coherent(rt2x00dev->dev, queue->limit * queue->desc_size, - &dma, GFP_KERNEL | GFP_DMA); + &dma, GFP_KERNEL); if (!addr) return -ENOMEM;