]> 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)
commit82ec92706ec9d7ea22f59f238c9235ac3deda1b2
tree5636508b37fd17bb7d49899cd1f6726636c9f5cc
parentb2350168e8d2cfa2ad73211b77a2083c533f5cd7
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 2bc66b8bee2251fd ("soc: renesas: rcar-sysc: Keep wakeup
sources active during system suspend") and c99fea5f7e9c1e7e ("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