]> git.karo-electronics.de Git - linux-beck.git/commit
PCI: designware: Fix IO resource end address calculation
authorMinghuan Lian <Minghuan.Lian@freescale.com>
Tue, 23 Sep 2014 14:28:57 +0000 (22:28 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 24 Sep 2014 13:04:01 +0000 (07:04 -0600)
commit0c61ea77cceafd1134225099961c2df0866b500f
treea5a89f61c3243a8b404937b5e7eb425f32a98287
parentec98e9ab6f2475ff57c12d069e78b90548c0f60e
PCI: designware: Fix IO resource end address calculation

End address should be equal to start_addr + size - 1.  Fix PCI IO resource
end address calculation.

Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Mohit KUMAR <mohit.kumar@st.com>
drivers/pci/host/pcie-designware.c