diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2010-12-08 15:32:14 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-10 11:09:18 -0800 |
commit | e4fbce740f078bbc925ba5c86648d9c883968479 (patch) | |
tree | 079b7536f3139ce745a2d4440fd8e73086a5c5d6 /drivers/connector | |
parent | 6934d33556b366d22392a415ca09d720fed6a442 (diff) | |
download | op-kernel-dev-e4fbce740f078bbc925ba5c86648d9c883968479.zip op-kernel-dev-e4fbce740f078bbc925ba5c86648d9c883968479.tar.gz |
r8169: Fix runtime power management
I noticed that one of the post-2.6.36 patches broke runtime PM of the
r8169 on my MSI Wind test machine in such a way that the link was not
brought up after reconnecting the network cable.
In the process of debugging the issue I realized that we only should
invoke the runtime PM functions in rtl8169_check_link_status() when
link change is reported and if we do so, the problem goes away.
Moreover, this allows rtl8169_runtime_idle() to be simplified quite
a bit.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/connector')
0 files changed, 0 insertions, 0 deletions