mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
Merge "iommu: dma-mapping-fast: fix iova alloc wrap"
This commit is contained in:
commit
4ef89f019d
1 changed files with 0 additions and 1 deletions
|
|
@ -130,7 +130,6 @@ static dma_addr_t __fast_smmu_alloc_iova(struct dma_fast_smmu_mapping *mapping,
|
|||
nbits, align);
|
||||
if (unlikely(bit > mapping->num_4k_pages)) {
|
||||
/* try wrapping */
|
||||
mapping->next_start = 0; /* TODO: SHOULD I REALLY DO THIS?!? */
|
||||
bit = bitmap_find_next_zero_area(
|
||||
mapping->bitmap, mapping->num_4k_pages, 0, nbits,
|
||||
align);
|
||||
|
|
|
|||
Loading…
Reference in a new issue