mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-16 21:35:07 +00:00
MHI Host
======== - Fix the MHI BAR mapping by passing BAR number to pcim_iomap_region() API instead of BAR mask. This fixes a regression for Qualcomm MHI modems. -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEZ6VDKoFIy9ikWCeXVZ8R5v6RzvUFAmdOngoACgkQVZ8R5v6R zvUbYgf/a3jmXXZGB9m1hL8zAqa0Z0G1Ivs4qqmF10t/WnAWKI1dlSfV7i8ayWmk Mw4ofgA8PsfTIrq4H79AYSoCbtV5g4q3TDRN7hyX7tOApdr5HAJX3IPkHxmx/rL1 erYGEwwnO+Vh/oqdKF72Am4FxPHQ5Dh/KBuOsLUbOWXmEKmsyco8JRNfDxk52QTx keeg4IG+FnXfFrfYlI6IJ4UyOMRVNsUFkCbFfc30oZcxQlgGdGTD9Qr1F7IIhXHX MVAvIqV2Jtj/1VG69Vd9YQq8o//KnGbWEc3luR8vAcoui0OMFUs8b2Bc8cBz2lqA BxrsmEnO1lOlbOzuMi7MaID34JjyUg== =yY/i -----END PGP SIGNATURE----- Merge tag 'mhi-fixes-for-v6.13' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mani/mhi into char-misc-linus Manivannan writes: MHI Host ======== - Fix the MHI BAR mapping by passing BAR number to pcim_iomap_region() API instead of BAR mask. This fixes a regression for Qualcomm MHI modems. * tag 'mhi-fixes-for-v6.13' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mani/mhi: bus: mhi: host: pci_generic: fix MHI BAR mapping
This commit is contained in:
commit
e16ebd9d83
@ -917,7 +917,7 @@ static int mhi_pci_claim(struct mhi_controller *mhi_cntrl,
|
||||
return err;
|
||||
}
|
||||
|
||||
mhi_cntrl->regs = pcim_iomap_region(pdev, 1 << bar_num, pci_name(pdev));
|
||||
mhi_cntrl->regs = pcim_iomap_region(pdev, bar_num, pci_name(pdev));
|
||||
if (IS_ERR(mhi_cntrl->regs)) {
|
||||
err = PTR_ERR(mhi_cntrl->regs);
|
||||
dev_err(&pdev->dev, "failed to map pci region: %d\n", err);
|
||||
|
Loading…
x
Reference in New Issue
Block a user