summaryrefslogtreecommitdiff
path: root/samples/trace_events
diff options
context:
space:
mode:
authorBoris BREZILLON <boris.brezillon@free-electrons.com>2014-09-23 18:41:07 +0400
committerNicolas Ferre <nicolas.ferre@atmel.com>2014-11-13 18:08:01 +0300
commita975f47f6e9a4e9762c81973cf2305003aa5b7dc (patch)
tree3087c457ca561f407dd86baa915f19b56643d134 /samples/trace_events
parenta98250217997f3b8d47d21ffaedd39b32d1798eb (diff)
downloadlinux-a975f47f6e9a4e9762c81973cf2305003aa5b7dc.tar.xz
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 <boris.brezillon@free-electrons.com> Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Johan Hovold <johan@kernel.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'samples/trace_events')
0 files changed, 0 insertions, 0 deletions