summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-08-30 22:18:22 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2018-08-31 08:46:05 +0200
commitdd0b5b9e8968480e230cf825de3e558a2ee624ad (patch)
tree66352976458f1f4d7fb8b294490a9674ee41ab5a /drivers
parent06e9ae9b109f0748d0cfa4c7fa35dc904a367f56 (diff)
downloadbarebox-dd0b5b9e8968480e230cf825de3e558a2ee624ad.tar.gz
barebox-dd0b5b9e8968480e230cf825de3e558a2ee624ad.tar.xz
driver: Adopt DMA mask concept from Linux
In order to be able to detect cases where DMA isn't capable of reaching every memory address, port the concept of DMA mask, dma_set_mask() function and add appropriate check to dma_mapping_error(). Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions