Commit bb13a80
r8169: fix handling ether_clk
Petr reported that system freezes on r8169 driver load on a system
using ether_clk. The original change was done under the assumption
that the clock isn't needed for basic operations like chip register
access. But obviously that was wrong.
Therefore effectively revert the original change, and in addition
leave the clock active when suspending and WoL is enabled. Chip may
not be able to process incoming packets otherwise.
Fixes: 9f0b54c ("r8169: move switching optional clock on/off to pll power functions")
Reported-by: Petr Tesarik <ptesarik@suse.cz>
Tested-by: Petr Tesarik <ptesarik@suse.cz>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent a59cf61 commit bb13a80
1 file changed
+19
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2239 | 2239 | | |
2240 | 2240 | | |
2241 | 2241 | | |
2242 | | - | |
2243 | | - | |
2244 | 2242 | | |
2245 | 2243 | | |
2246 | 2244 | | |
2247 | 2245 | | |
2248 | | - | |
2249 | | - | |
2250 | 2246 | | |
2251 | 2247 | | |
2252 | 2248 | | |
| |||
4826 | 4822 | | |
4827 | 4823 | | |
4828 | 4824 | | |
| 4825 | + | |
| 4826 | + | |
| 4827 | + | |
| 4828 | + | |
| 4829 | + | |
| 4830 | + | |
| 4831 | + | |
| 4832 | + | |
| 4833 | + | |
| 4834 | + | |
| 4835 | + | |
| 4836 | + | |
4829 | 4837 | | |
4830 | 4838 | | |
4831 | 4839 | | |
4832 | 4840 | | |
4833 | 4841 | | |
4834 | 4842 | | |
| 4843 | + | |
| 4844 | + | |
4835 | 4845 | | |
4836 | 4846 | | |
4837 | 4847 | | |
4838 | 4848 | | |
4839 | 4849 | | |
4840 | | - | |
| 4850 | + | |
4841 | 4851 | | |
4842 | 4852 | | |
4843 | 4853 | | |
4844 | | - | |
4845 | | - | |
4846 | | - | |
4847 | | - | |
| 4854 | + | |
| 4855 | + | |
4848 | 4856 | | |
4849 | | - | |
4850 | | - | |
4851 | | - | |
| 4857 | + | |
4852 | 4858 | | |
4853 | 4859 | | |
4854 | 4860 | | |
| |||
4874 | 4880 | | |
4875 | 4881 | | |
4876 | 4882 | | |
4877 | | - | |
| 4883 | + | |
4878 | 4884 | | |
4879 | 4885 | | |
4880 | 4886 | | |
| |||
0 commit comments