diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2016-09-01 12:33:46 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-09-01 12:33:46 -0400 |
commit | 0cb7bf61b1e9f05027de58c80f9b46a714d24e35 (patch) | |
tree | 41fb55cf62d07b425122f9a8b96412c0d8eb99c5 /drivers/clocksource/timer-atmel-pit.c | |
parent | aa877175e7a9982233ed8f10cb4bfddd78d82741 (diff) | |
parent | 3eab887a55424fc2c27553b7bfe32330df83f7b8 (diff) |
Merge branch 'linus' into smp/hotplug
Apply upstream changes to avoid conflicts with pending patches.
Diffstat (limited to 'drivers/clocksource/timer-atmel-pit.c')
-rw-r--r-- | drivers/clocksource/timer-atmel-pit.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/clocksource/timer-atmel-pit.c b/drivers/clocksource/timer-atmel-pit.c index 1ffac0cb0cb7..3494bc5a21d5 100644 --- a/drivers/clocksource/timer-atmel-pit.c +++ b/drivers/clocksource/timer-atmel-pit.c | |||
@@ -261,6 +261,12 @@ static int __init at91sam926x_pit_dt_init(struct device_node *node) | |||
261 | return PTR_ERR(data->mck); | 261 | return PTR_ERR(data->mck); |
262 | } | 262 | } |
263 | 263 | ||
264 | ret = clk_prepare_enable(data->mck); | ||
265 | if (ret) { | ||
266 | pr_err("Unable to enable mck\n"); | ||
267 | return ret; | ||
268 | } | ||
269 | |||
264 | /* Get the interrupts property */ | 270 | /* Get the interrupts property */ |
265 | data->irq = irq_of_parse_and_map(node, 0); | 271 | data->irq = irq_of_parse_and_map(node, 0); |
266 | if (!data->irq) { | 272 | if (!data->irq) { |