diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2017-05-26 11:38:07 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2017-06-12 11:45:24 +0300 |
commit | ef89718ab685e40887bb76d4e7664a931306a2a4 (patch) | |
tree | 2d124949c0a7d61a4f22e5c0ec9f338bc2c5fef9 /drivers/clocksource/timer-atmel-st.c | |
parent | a6fbb9c4cc80bbbe5a088c3b64d1e41eee16b090 (diff) | |
download | linux-ef89718ab685e40887bb76d4e7664a931306a2a4.tar.xz |
clocksource/drivers/fttmr010: Fix aspeed-2500 initialization
The recent changes made the fttmr010 to be more generic and support different
timers with a very few differences like moxart or aspeed.
The aspeed timer uses a countdown and there is a test against the aspeed2400
compatible string to set a flag.
With the previous patch, we added the aspeed2500 compatible string but without
taking care of setting the countdown flag.
Fix this by specifiying a init function and pass the aspeed flag to a common
init function.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Acked-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource/timer-atmel-st.c')
0 files changed, 0 insertions, 0 deletions