summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMitchel Humpherys <mitchelh@codeaurora.org>2015-05-08 16:06:08 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:12:33 -0700
commit297a2f3a795cb479b0917b544836f7f292afbcd4 (patch)
tree496dd2461f25427994dad0f90d66a5ee90dd1770 /include
parent3e7d85603a3fcc9c541b53798f0988576a39c2be (diff)
dma-mapping: check for failed IOVA allocation
Currently if we fail to allocate an IOVA from our VA pool we proceed to map DMA_ERROR_CODE into the IOMMU, which is not what the client requested or expected. Fix this by checking for an error return value while allocating an IOVA and bailing out as appropriate. Change-Id: I13df7b9ab52536b757d8ae0ca74a5b9e1e1438b5 Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions