PCI/PM/Runtime: make PCI traces quieter
authorVincent Palatin <vpalatin@chromium.org>
Mon, 5 Dec 2011 19:51:18 +0000 (11:51 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 6 Jan 2012 20:11:16 +0000 (12:11 -0800)
commit85b8582d7ca516030efb84d94fa29a73c1d9a125
tree5a9b8bedd6091a2140026e8edb4eaeb8174597a5
parent118faafaf987f521832843d36c6be580983f9a6b
PCI/PM/Runtime: make PCI traces quieter

When the runtime PM is activated on PCI, if a device switches state
frequently (e.g. an EHCI controller with autosuspending USB devices
connected) the PCI configuration traces might be very verbose in the
kernel log.  Let's guard those traces with DEBUG condition.

Acked-by: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/acpi/pci_irq.c
drivers/pci/pci.c
drivers/pci/setup-res.c