]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: DP83TC811: Fix WoL in config init to be disabled
authorDan Murphy <dmurphy@ti.com>
Tue, 28 Apr 2020 16:03:54 +0000 (11:03 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2020 22:23:44 +0000 (15:23 -0700)
commit0f6527df5fbe6ceb9925f94d6d9a6dfaa4a6b4f3
tree44c94ceb3b2ca88d914f2df8e3a99ac67ce8084f
parent21f82305ee677504a14a384310c6e4fdfe8dc9c7
net: phy: DP83TC811: Fix WoL in config init to be disabled

The WoL feature should be disabled when config_init is called and the
feature should turned on or off  when set_wol is called.

In addition updated the calls to modify the registers to use the set_bit
and clear_bit function calls.

Fixes: 6d749428788b ("net: phy: DP83TC811: Introduce support for the
DP83TC811 phy")
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83tc811.c