diff options
author | Boris BREZILLON <[email protected]> | 2014-09-23 16:41:07 +0200 |
---|---|---|
committer | Nicolas Ferre <[email protected]> | 2014-11-13 16:08:01 +0100 |
commit | a975f47f6e9a4e9762c81973cf2305003aa5b7dc (patch) | |
tree | 3087c457ca561f407dd86baa915f19b56643d134 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | a98250217997f3b8d47d21ffaedd39b32d1798eb (diff) |
rtc: at91sam9: use clk API instead of relying on AT91_SLOW_CLOCK
The RTT block is using the slow clock which is accessible through the clk
API.
Use the clk API to retrieve, enable and get the slow clk rate instead of
the AT91_SLOW_CLOCK macro (which hardcodes the slow clk rate).
Doing this allows us to reference the clk thus preventing the CCF from
disabling it during the "disable unused" phase.
Signed-off-by: Boris BREZILLON <[email protected]>
Acked-by: Alexandre Belloni <[email protected]>
Acked-by: Johan Hovold <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Nicolas Ferre <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions