diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2017-10-12 10:24:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-12 23:00:50 -0700 |
commit | ab104615e01c2c4cbe9ea4073a430d51f6547dd2 (patch) | |
tree | ac06d6152aa2e3f24b03076cce168874fd1ca140 /tools | |
parent | c669b5cf42d0b066ced7ab70e7cf15e2155acb2c (diff) | |
download | op-kernel-dev-ab104615e01c2c4cbe9ea4073a430d51f6547dd2.zip op-kernel-dev-ab104615e01c2c4cbe9ea4073a430d51f6547dd2.tar.gz |
ravb: Consolidate clock handling
The module clock is used for two purposes:
- Wake-on-LAN (WoL), which is optional,
- gPTP Timer Increment (GTI) configuration, which is mandatory.
As the clock is needed for GTI configuration anyway, WoL is always
available. Hence remove duplication and repeated obtaining of the clock
by making GTI use the stored clock for WoL use.
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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions