Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1adca453 authored by Tony Truong's avatar Tony Truong
Browse files

msm: msi: align PCIe Synopsys MSI base IRQ



MSI base IRQ has to be aligned based on the number of MSIs
requested.

Change-Id: I945197df5b50c74f9167f350d84cdedc7ae0d0cb
Signed-off-by: default avatarTony Truong <truong@codeaurora.org>
parent 8ff9672b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -395,7 +395,7 @@ static int msm_msi_irq_domain_alloc(struct irq_domain *domain,
	}

	pos = bitmap_find_next_zero_area(msi->bitmap, msi->nr_virqs, 0,
					nr_irqs, 0);
					nr_irqs, nr_irqs - 1);
	if (pos < msi->nr_virqs) {
		bitmap_set(msi->bitmap, pos, nr_irqs);
	} else {