pci: Show a message if PCI autoconfig fails
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:56:16 +0000 (08:56 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:57:42 +0000 (13:57 +0800)
commit6a73cf3d8fe32f3bddd4ba7dd47dcb75df5ca592
tree9fa37de6efb7a4e1052eb3f8be20ba39c3d34c5a
parentf365152a55e6619d5f87d851790e329f7b441b61
pci: Show a message if PCI autoconfig fails

At present this fails silently which can be confusing since some devices
on the PCI bus may not work correctly. Show a message in this case.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: add a '\n' in the PCI autoconfig fail message]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
drivers/pci/pci_auto.c