diff options
| author | Daniel Lezcano <[email protected]> | 2017-05-26 08:38:07 +0000 |
|---|---|---|
| committer | Daniel Lezcano <[email protected]> | 2017-06-12 08:45:24 +0000 |
| commit | ef89718ab685e40887bb76d4e7664a931306a2a4 (patch) | |
| tree | 2d124949c0a7d61a4f22e5c0ec9f338bc2c5fef9 /drivers/clocksource/timer-stm32.c | |
| parent | clocksource/drivers/fttmr010: Add AST2500 compatible string (diff) | |
| download | kernel-ef89718ab685e40887bb76d4e7664a931306a2a4.tar.gz kernel-ef89718ab685e40887bb76d4e7664a931306a2a4.zip | |
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 <[email protected]>
Tested-by: Andrew Jeffery <[email protected]>
Reviewed-by: Andrew Jeffery <[email protected]>
Acked-by: Joel Stanley <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'drivers/clocksource/timer-stm32.c')
0 files changed, 0 insertions, 0 deletions
