[PATCH 36/41] clocksource: stm32: Migrate to new 'set-state' interface

Maxime Coquelin mcoquelin.stm32 at gmail.com
Thu Jun 18 04:09:46 PDT 2015


Hi Viresh,

On 06/18/2015 12:54 PM, Viresh Kumar wrote:
> Migrate stm32 driver to the new 'set-state' interface provided by
> clockevents core, the earlier 'set-mode' interface is marked obsolete
> now.
>
> This also enables us to implement callbacks for new states of clockevent
> devices, for example: ONESHOT_STOPPED.
>
> Cc: Maxime Coquelin <mcoquelin.stm32 at gmail.com>
> Signed-off-by: Viresh Kumar <viresh.kumar at linaro.org>
> ---
>   drivers/clocksource/timer-stm32.c | 30 +++++++++++++++++-------------
>   1 file changed, 17 insertions(+), 13 deletions(-)
>
>

Thanks for having implemented the move to the new interface.
I just tested it, and confirm it works fine on my STM32 board.
You can add:

Tested-by: Maxime Coquelin <mcoquelin.stm32 at gmail.com>
Acked-by: Maxime Coquelin <mcoquelin.stm32 at gmail.com>

Regards,
Maxime



More information about the linux-arm-kernel mailing list