Skip to content
Commit 36521c27 authored by Mark Ware's avatar Mark Ware Committed by Ben Dooks
Browse files

i2c-cpm: Pass dev ptr to dma_*_coherent rather than NULL



Recent DMA changes result in a BUG() when NULL is passed to
dma_alloc_coherent in place of a device.

Signed-off-by: default avatarMark Ware <mware@elphinstone.net>
[ben-linux@fluff.org: fix patch moves]
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent 89bc5d4a
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