Skip to contentSkip to conversation

PM / devfreq: Add new DEVFREQ_TRANSITION_NOTIFIER notifier

PATCH MyungJoo Ham 1 participant 1 message Apr 6, 2016 Arm Samsung Exynos

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines

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

Quoted 7 lines

And this patch adds the resourced-managed function to release the resource automatically when error happen.

[m.reichl and linux.amoon: Tested it on exynos4412-odroidu3 board]
Quoted 4 lines
---
 drivers/devfreq/devfreq.c | 163 +++++++++++++++++++++++++++++++++++++++++++++-
 include/linux/devfreq.h   |  59 ++++++++++++++++-
 2 files changed, 220 insertions(+), 2 deletions(-)