commit | e45d0fad4a5f8c2d69084dbda98635adcd3f8478 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Sun Jan 12 13:04:50 2020 +0100 |
committer | Jakub Kicinski <kuba@kernel.org> | Sun Jan 12 12:59:53 2020 -0800 |
tree | b0f3efc529c508f28e20c70a112e6adc4309dbf6 | |
parent | f458ac479777c627c9b92ab640afec3bfa150660 [diff] |
net: ethernet: ixp4xx: Use parent dev for DMA pool Use the netdevice struct device .parent field when calling dma_pool_create(): the .dma_coherent_mask and .dma_mask pertains to the bus device on the hardware (platform) bus in this case, not the struct device inside the network device. This makes the pool allocation work. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>