From: Rafael J. Wysocki Date: Wed, 8 Dec 2010 15:32:14 +0000 (+0000) Subject: r8169: Fix runtime power management X-Git-Tag: v2.6.37-rc6~14^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4fbce740f078bbc925ba5c86648d9c883968479;p=pandora-kernel.git 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 Acked-by: Francois Romieu Signed-off-by: David S. Miller --- Reading git-diff-tree failed