Commit 9f6ea354 authored by Russell King's avatar Russell King

[ARM] Fix oops in dma_unmap_single()

Fix an oops caused by a missing failure return value for devices which
do not require DMA bouncing.
parent 86042707
...@@ -100,6 +100,7 @@ find_dmabounce_dev(struct device *dev) ...@@ -100,6 +100,7 @@ find_dmabounce_dev(struct device *dev)
if (d->dev == dev) if (d->dev == dev)
return d; return d;
} }
return NULL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment