mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
ar71xx: ag71xx: init rings with GFP_KERNEL
ar71xx got lost during final rebase ..
Fixes: b417a0c48d
("ar71xx/ath79: ag71xx: init rings with GFP_KERNEL")
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
This commit is contained in:
parent
b417a0c48d
commit
2a08bf3656
@ -291,7 +291,7 @@ static int ag71xx_rings_init(struct ag71xx *ag)
|
||||
return -ENOMEM;
|
||||
|
||||
tx->descs_cpu = dma_alloc_coherent(NULL, ring_size * AG71XX_DESC_SIZE,
|
||||
&tx->descs_dma, GFP_ATOMIC);
|
||||
&tx->descs_dma, GFP_KERNEL);
|
||||
if (!tx->descs_cpu) {
|
||||
kfree(tx->buf);
|
||||
tx->buf = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user