We want to ignore BUS_DMASYNC_POSTWRITE, not BUS_DMASYNC_POSTREAD.
Spotted out by: mux Pointy hat to: cognet
This commit is contained in:
parent
bcd25c3901
commit
4e18db9429
@ -687,7 +687,7 @@ bus_dmamap_sync(bus_dma_tag_t dmat, bus_dmamap_t map, bus_dmasync_op_t op)
|
||||
int resid;
|
||||
struct iovec *iov;
|
||||
|
||||
if (op == BUS_DMASYNC_POSTREAD)
|
||||
if (op == BUS_DMASYNC_POSTWRITE)
|
||||
return;
|
||||
if (map->flags & DMAMAP_COHERENT)
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user