]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Tue, 13 Dec 2011 18:42:34 +0000 (10:42 -0800)
commit1e2fd289a658ac4d06bf0a75333d97bd8e802393
tree6faab3bbd04abf95277c99e9bb219ef49a297efc
parenta40347dca6d51b599ab19a2ce553cde3bc8f16b2
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