Skip to content
Commit 8b1cce9f authored by Thierry Reding's avatar Thierry Reding Committed by Christoph Hellwig
Browse files

dma-mapping: fix inverted logic in dma_supported

The cleanup in commit 356da6d0 ("dma-mapping: bypass indirect calls
for dma-direct") accidentally inverted the logic in the check for the
presence of a ->dma_supported() callback. Switch this back to the way it
was to prevent a crash on boot.

Fixes: 356da6d0

 ("dma-mapping: bypass indirect calls for dma-direct")
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 06d4dd2f
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