summaryrefslogtreecommitdiffstats
path: root/drivers/pci/host/pcie-rcar.c
diff options
context:
space:
mode:
authorVictor Gu <xigu@marvell.com>2018-04-06 16:55:32 +0200
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2018-04-16 12:21:18 +0200
commit4fa3999ee672c54a5498ce98e20fe3fdf9c1cbb4 (patch)
treebcdf51d337572f7c942bc75d9e7482026d79e128 /drivers/pci/host/pcie-rcar.c
parentPCI: aardvark: Fix logic in advk_pcie_{rd,wr}_conf() (diff)
downloadlinux-4fa3999ee672c54a5498ce98e20fe3fdf9c1cbb4.tar.xz
linux-4fa3999ee672c54a5498ce98e20fe3fdf9c1cbb4.zip
PCI: aardvark: Set PIO_ADDR_LS correctly in advk_pcie_rd_conf()
When setting the PIO_ADDR_LS register during a configuration read, we were properly passing the device number, function number and register number, but not the bus number, causing issues when reading the configuration of PCIe devices. Fixes: 8c39d710363c1 ("PCI: aardvark: Add Aardvark PCI host controller driver") Cc: <stable@vger.kernel.org> Signed-off-by: Victor Gu <xigu@marvell.com> Reviewed-by: Wilson Ding <dingwei@marvell.com> Reviewed-by: Nadav Haklai <nadavh@marvell.com> [Thomas: tweak commit log.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'drivers/pci/host/pcie-rcar.c')
0 files changed, 0 insertions, 0 deletions