diff --git a/[refs] b/[refs] index 51c03451cc58..7198e7d282c7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0e116227a01580acf47437adba3afadf21b6bd5f +refs/heads/master: 36223a399f639b13b7a454349565934e6d3e2db0 diff --git a/trunk/lib/swiotlb.c b/trunk/lib/swiotlb.c index 977edbdbc1de..8826fdf0f180 100644 --- a/trunk/lib/swiotlb.c +++ b/trunk/lib/swiotlb.c @@ -491,7 +491,7 @@ swiotlb_alloc_coherent(struct device *hwdev, size_t size, * the lowest available address range. */ dma_addr_t handle; - handle = swiotlb_map_single(NULL, NULL, size, DMA_FROM_DEVICE); + handle = swiotlb_map_single(hwdev, NULL, size, DMA_FROM_DEVICE); if (swiotlb_dma_mapping_error(hwdev, handle)) return NULL;