diff options
author | Victor Gu <[email protected]> | 2018-04-06 16:55:32 +0200 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2018-04-16 11:21:18 +0100 |
commit | 4fa3999ee672c54a5498ce98e20fe3fdf9c1cbb4 (patch) | |
tree | bcdf51d337572f7c942bc75d9e7482026d79e128 /lib/memory-notifier-error-inject.c | |
parent | 660661afcd40ed7f515ef3369721ed58e80c0fc5 (diff) |
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: <[email protected]>
Signed-off-by: Victor Gu <[email protected]>
Reviewed-by: Wilson Ding <[email protected]>
Reviewed-by: Nadav Haklai <[email protected]>
[Thomas: tweak commit log.]
Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions