Re: [PATCH, post-2.6.36 regression fix] r8169: Fix runtime powermanagement

From: David Miller
Date: Fri Dec 10 2010 - 14:09:24 EST


From: Francois Romieu <romieu@xxxxxxxxxxxxx>
Date: Thu, 9 Dec 2010 10:28:04 +0100

> Rafael J. Wysocki <rjw@xxxxxxx> :
> [...]
>> 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@xxxxxxx>
>
> Acked-by: Francois Romieu <romieu@xxxxxxxxxxxxx>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/