Re: RTL8402 stops working after hibernate/resume
From: Petr Tesarik <hidden>
Date: 2020-09-25 12:56:19
Attachments
- (unnamed) [application/pgp-signature] 488 bytes
From: Petr Tesarik <hidden>
Date: 2020-09-25 12:56:19
On Fri, 25 Sep 2020 11:52:41 +0200 Petr Tesarik [off-list ref] wrote:
On Fri, 25 Sep 2020 11:44:09 +0200 Heiner Kallweit [off-list ref] wrote:quoted
On 25.09.2020 10:54, Petr Tesarik wrote:[...]quoted
quoted
Does it make sense to bisect the change that broke the driver for me, or should I rather dispose of this waste^Wlaptop in an environmentally friendly manner? I mean, would you eventually accept a workaround for a few machines with a broken BIOS?If the workaround is small and there's little chance to break other stuff: then usually yes. If you can spend the effort to bisect the issue, this would be appreciated.OK, then I'm going to give it a try.
Done. The system freezes when this commit is applied:
commit 9f0b54cd167219266bd3864570ae8f4987b57520
Author: Heiner Kallweit [off-list ref]
Date: Wed Jun 17 22:55:40 2020 +0200
r8169: move switching optional clock on/off to pll power functions
Relevant chip clocks are disabled in rtl_pll_power_down(), therefore
move calling clk_disable_unprepare() there. Similar for enabling the
clock.
Signed-off-by: Heiner Kallweit [off-list ref]
Signed-off-by: David S. Miller [off-list ref]
I cannot be sure this is related to the malfunction after resume reported earlier, but it again touches the suspend/resume path...
Anything else I should try?
Petr T