commit | 52b9fa3696c44151a2f1d361a00be7c5513db026 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <ben.hutchings@codethink.co.uk> | Tue Jan 27 00:50:24 2015 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 27 00:18:54 2015 -0800 |
tree | cd61f6cb3d68d8a6a6351ff84dcfc3db3c24b2b5 | |
parent | aa3933b87309c61b4fa4bb93c1ad4c3f08afb1b8 [diff] |
sh_eth: Fix DMA-API usage for RX buffers - Use the return value of dma_map_single(), rather than calling virt_to_page() separately - Check for mapping failue - Call dma_unmap_single() rather than dma_sync_single_for_cpu() Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>