]> git.baikalelectronics.ru Git - kernel.git/commit
sh_eth: Remove obsolete explicit clock handling for WoL
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 12 Feb 2018 13:42:36 +0000 (14:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Feb 2018 16:46:23 +0000 (11:46 -0500)
commitc724c6bf0fc2f8046439107382bb59771f3c9033
tree5636508b37fd17bb7d49899cd1f6726636c9f5cc
parentcf1814f82619225bce87d2fa4b4a8bbe7da3a82d
sh_eth: Remove obsolete explicit clock handling for WoL

Currently, if Wake-on-LAN is enabled, the SH-ETH device's module clock
is manually kept running during system suspend, to make sure the device
stays active.

Since commits cd4d780dff41716e ("soc: renesas: rcar-sysc: Keep wakeup
sources active during system suspend") and a477c0a1c78a8e15 ("clk:
renesas: mstp: Keep wakeup sources active during system suspend"), this
workaround is no longer needed.  Hence remove all explicit clock
handling to keep the device active.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c