[PATCH v9 04/20] PM / devfreq: Add new DEVFREQ_TRANSITION_NOTIFIER notifier

Krzysztof Kozlowski k.kozlowski at samsung.com
Tue Apr 12 00:29:34 PDT 2016


On 04/11/2016 05:57 AM, Chanwoo Choi wrote:
> This patch adds the new DEVFREQ_TRANSITION_NOTIFIER notifier to send
> the notification when the frequency of device is changed.
> This notifier has two state as following:
> - DEVFREQ_PRECHANGE  : Notify it before chaning the frequency of device
> - DEVFREQ_POSTCHANGE : Notify it after changed the frequency of device
> 
> And this patch adds the resourced-managed function to release the resource
> automatically when error happen.
> 
> Signed-off-by: Chanwoo Choi <cw00.choi at samsung.com>
> [m.reichl and linux.amoon: Tested it on exynos4412-odroidu3 board]
> Tested-by: Markus Reichl <m.reichl at fivetechno.de>
> Tested-by: Anand Moon <linux.amoon at gmail.com>
> Signed-off-by: MyungJoo Ham <myungjoo.ham at samsung.com>
> ---
>  drivers/devfreq/devfreq.c | 163 +++++++++++++++++++++++++++++++++++++++++++++-
>  include/linux/devfreq.h   |  59 ++++++++++++++++-
>  2 files changed, 220 insertions(+), 2 deletions(-)


Acked-by: Krzysztof Kozlowski <k.kozlowski at samsung.com>

Best regards,
Krzysztof





More information about the linux-arm-kernel mailing list