]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: designware: Wait for iATU enable
authorJoao Pinto <Joao.Pinto@synopsys.com>
Wed, 17 Aug 2016 18:26:07 +0000 (13:26 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 17 Aug 2016 19:43:41 +0000 (14:43 -0500)
commit1ca8fb9c7e4cf89e2fd4f821b703b4df7730172b
treeced1d20fcf583996ac48bf4b1e92357d0d357738
parent209af40eb0ec0e12fef56e94dcfb287a55e1a77f
PCI: designware: Wait for iATU enable

Add a loop with timeout to make sure the iATU is really enabled before
subsequent config and I/O accesses.

[bhelgaas: split to separate patch, use dev_err() instead of dev_dbg()]
Signed-off-by: Joao Pinto <jpinto@synopsys.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-designware.c