]> git.baikalelectronics.ru Git - kernel.git/commit
rtl8xxxu: Stop log spam from each successful interrupt
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 21 Sep 2016 01:19:29 +0000 (21:19 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 26 Sep 2016 17:41:37 +0000 (20:41 +0300)
commit9a51b5a886b28917075187071b48067362ff9848
tree9646418c194ba9d5345d54a34e17180cbe1cb49f
parentf00e5157c306300d9b104e0bdd47df0063b9752f
rtl8xxxu: Stop log spam from each successful interrupt

As soon as debugging is turned on, the logs are filled with messages
reporting the interrupt status. As this quantity is usually zero, this
output is not needed. In fact, there will be a report if the status is
not zero, thus the debug line in question could probably be deleted.
Rather than taking that action, I have changed it to only be printed
when the newly added RTL8XXXU_DEBUG_INTERRUPT bit is set in the debug
mask.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c