summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>2017-08-01 12:14:37 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-01 17:54:38 -0700
commitfbf3d034f2ff6264183cfa6845770e8cc2a986c8 (patch)
treec7efbaf014ad54feebde4329a8581b74518c9681 /net
parent3e3d647715d40173e359c91c69059b9cec7ba6ca (diff)
downloadop-kernel-dev-fbf3d034f2ff6264183cfa6845770e8cc2a986c8.zip
op-kernel-dev-fbf3d034f2ff6264183cfa6845770e8cc2a986c8.tar.gz
ravb: add workaround for clock when resuming with WoL enabled
The renesas-cpg-mssr clock driver are not yet aware of PSCI sleep where power is cut to the SoC. When resuming from this state with WoL enabled the enable count of the ravb clock is 1 and the clock driver thinks the clock is already on when PM core enables the clock and increments the enable count to 2. This will result in the ravb driver failing to talk to the hardware since the module clock is off. Work around this by forcing the enable count to 0 and then back to 2 when resuming with WoL enabled. This workaround should be reverted once the renesas-cpg-mssr clock driver becomes aware of this PSCI sleep behavior. Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud