PCI: Don't print anything while decoding is disabled
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 23 Aug 2012 16:53:08 +0000 (10:53 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 23 Aug 2012 16:53:08 +0000 (10:53 -0600)
commit0ff9514b579b4f2f3e6038cd961ce64c224c3c73
treef9966bea8af6de80dec25078b372865b88c5bb62
parent046c6531b60e8b9eabf47820a06161338a612167
PCI: Don't print anything while decoding is disabled

If we try to print to the console device while its decoding is disabled,
the system will hang.

Reported-and-tested-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Olof Johansson <olof@lixom.net>
drivers/pci/probe.c