aboutsummaryrefslogtreecommitdiff
path: root/arch/avr32/mach-at32ap/time-tc.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/avr32/mach-at32ap/time-tc.c')
-rw-r--r--arch/avr32/mach-at32ap/time-tc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/avr32/mach-at32ap/time-tc.c b/arch/avr32/mach-at32ap/time-tc.c
index 7ac0e94d8ed..e3070bdd4bb 100644
--- a/arch/avr32/mach-at32ap/time-tc.c
+++ b/arch/avr32/mach-at32ap/time-tc.c
@@ -135,6 +135,7 @@ int avr32_hpt_init(unsigned int count)
pr_debug("timer: could not get clk: %ld\n", PTR_ERR(pclk));
goto out_error;
}
+ clk_enable(pclk);
regs = platform_get_resource(&at32_systc0_device, IORESOURCE_MEM, 0);
if (!regs) {