]> 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>
Wed, 7 Dec 2011 17:12:50 +0000 (09:12 -0800)
commitfbe640ad6a0eec2779b851d1d853a8993c1cab77
tree972953b3c9dfa8ac942a0711ae485c4b01638b3d
parentf22bb50b9ea11c47c3490b5fd5e7252427636254
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