summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorZhichang Yuan <yuanzhichang@hisilicon.com>2015-04-24 11:05:09 +0200
committerBjorn Helgaas <bhelgaas@google.com>2015-05-16 17:38:39 +0200
commit5dbb4c6167229c8d4f528e8ec26699a7305000a3 (patch)
tree12d4d6e98f4c376632de1b80948c9a005ed4f544 /drivers/pci
parentLinux 4.1-rc2 (diff)
downloadlinux-5dbb4c6167229c8d4f528e8ec26699a7305000a3.tar.xz
linux-5dbb4c6167229c8d4f528e8ec26699a7305000a3.zip
of/pci: Fix pci_address_to_pio() conversion of CPU address to I/O port
41f8bba7f555 ("of/pci: Add pci_register_io_range() and pci_pio_to_address()") added support for systems with several I/O ranges described by OF bindings. It modified pci_address_to_pio() look up the io_range for a given CPU physical address, but the conversion was wrong. Fix the conversion of address to I/O port. [bhelgaas: changelog] Fixes: 41f8bba7f555 ("of/pci: Add pci_register_io_range() and pci_pio_to_address()") Signed-off-by: Zhichang Yuan <yuanzhichang@hisilicon.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Liviu Dudau <Liviu.Dudau@arm.com> CC: stable@vger.kernel.org # v3.18+
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions