summaryrefslogtreecommitdiff
path: root/drivers/media/rc
diff options
context:
space:
mode:
authorBen Hutchings <ben.hutchings@codethink.co.uk>2015-01-27 00:50:24 +0000
committerDavid S. Miller <davem@davemloft.net>2015-01-27 00:18:54 -0800
commit52b9fa3696c44151a2f1d361a00be7c5513db026 (patch)
treecd61f6cb3d68d8a6a6351ff84dcfc3db3c24b2b5 /drivers/media/rc
parentaa3933b87309c61b4fa4bb93c1ad4c3f08afb1b8 (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>
Diffstat (limited to 'drivers/media/rc')
0 files changed, 0 insertions, 0 deletions