diff options
| author | Johan Hovold <[email protected]> | 2024-12-01 17:11:20 +0000 |
|---|---|---|
| committer | Manivannan Sadhasivam <[email protected]> | 2024-12-02 09:44:33 +0000 |
| commit | 098d8374033f323dae87a1d792a3c8911c2cf57f (patch) | |
| tree | dfcd9bced298de94893a984451e90e94bd287127 /net/unix/af_unix.c | |
| parent | Linux 6.13-rc1 (diff) | |
| download | kernel-098d8374033f323dae87a1d792a3c8911c2cf57f.tar.gz kernel-098d8374033f323dae87a1d792a3c8911c2cf57f.zip | |
bus: mhi: host: pci_generic: fix MHI BAR mapping
A recent change converting the MHI pci_generic driver to use
pcim_iomap_region() failed to update the BAR parameter which is an index
rather than a mask.
This specifically broke the modem on machines like the Lenovo ThinkPad
X13s and x1e80100 CRD:
mhi-pci-generic 0004:01:00.0: failed to map pci region: -22
mhi-pci-generic 0004:01:00.0: probe with driver mhi-pci-generic failed with error -22
Fixes: bd23e836423e ("bus: mhi: host: pci_generic: Use pcim_iomap_region() to request and map MHI BAR")
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Cc: Manivannan Sadhasivam <[email protected]>
Cc: Mayank Rana <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
