From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755266AbbFRLJ7 (ORCPT ); Thu, 18 Jun 2015 07:09:59 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:36790 "EHLO mail-wi0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754935AbbFRLJu (ORCPT ); Thu, 18 Jun 2015 07:09:50 -0400 Message-ID: <5582A6FA.4040108@gmail.com> Date: Thu, 18 Jun 2015 13:09:46 +0200 From: Maxime Coquelin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Viresh Kumar , Thomas Gleixner , Daniel Lezcano CC: linaro-kernel@lists.linaro.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 36/41] clocksource: stm32: Migrate to new 'set-state' interface References: <7fc5a0bfae6062b7fbea71a9a469e6574a1c3cf6.1434622147.git.viresh.kumar@linaro.org> In-Reply-To: <7fc5a0bfae6062b7fbea71a9a469e6574a1c3cf6.1434622147.git.viresh.kumar@linaro.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Signed-off-by: Viresh Kumar > --- > 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 Acked-by: Maxime Coquelin Regards, Maxime From mboxrd@z Thu Jan 1 00:00:00 1970 From: mcoquelin.stm32@gmail.com (Maxime Coquelin) Date: Thu, 18 Jun 2015 13:09:46 +0200 Subject: [PATCH 36/41] clocksource: stm32: Migrate to new 'set-state' interface In-Reply-To: <7fc5a0bfae6062b7fbea71a9a469e6574a1c3cf6.1434622147.git.viresh.kumar@linaro.org> References: <7fc5a0bfae6062b7fbea71a9a469e6574a1c3cf6.1434622147.git.viresh.kumar@linaro.org> Message-ID: <5582A6FA.4040108@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > Signed-off-by: Viresh Kumar > --- > 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 Acked-by: Maxime Coquelin Regards, Maxime