diff options
author | Chun-Hao Lin | 2016-07-29 16:37:54 +0800 |
---|---|---|
committer | David S. Miller | 2016-07-31 20:34:05 -0700 |
commit | 5fa80a326d9dbd79d83148768c618e2da69e98e0 (patch) | |
tree | e674ffee0dd7970f0fa7b0139bd3a9c0e8035c04 /MAINTAINERS | |
parent | bb9c0fa3aa2932eb3825557e452cac248e709bef (diff) |
r8169: fix kernel log spam when set or get hardware wol setting.
NIC will be put into D3 state during runtime suspend state. When set or
get hardware wol setting, driver will write or read hardware registers.
If we set or get hardware wol setting in runtime suspend state, because
NIC will in D3 state, the hardware registers read by driver will return all
0xff. That will let driver thinking register flag is not toggled and
then prints the warning message "rtl_counters_cond == 1 (loop: 1000,
delay: 10)" to kernel log.
For fixing this issue, add checking driver's pm runtime status in
rtl8169_get_wol() and rtl8169_set_wol().
Signed-off-by: Chunhao Lin <hau@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions