]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "net: qcom/emac: enforce DMA address restrictions"
authorTimur Tabi <timur@codeaurora.org>
Thu, 12 Oct 2017 17:42:04 +0000 (12:42 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Oct 2017 17:50:10 +0000 (10:50 -0700)
commit640441914e619d3970dc9e8b47170ef2e89c1882
tree9fb83b340b908c4b9e501c6aa63510d6dec9b74d
parent6ae743d03f9f5edc911cd61f5c63c75eb3f1a45a
Revert "net: qcom/emac: enforce DMA address restrictions"

This reverts commit 79decbabd59eb4cfc008f7625e3df2fb1fd5c796.

It turns out that memory allocated via dma_alloc_coherent is always
aligned to the size of the buffer, so there's no way the RRD and RFD
can ever be in separate 32-bit regions.

Signed-off-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/emac/emac-mac.c