]> git.baikalelectronics.ru Git - kernel.git/commit
PM / devfreq: Send the DEVFREQ_POSTCHANGE notification when target() is failed
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 23 Jun 2016 02:18:43 +0000 (11:18 +0900)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 23 Jun 2016 21:15:12 +0000 (23:15 +0200)
commitf05cfd4d26fc5163e7c889b684bd05ae1633e734
tree4f3238cc3c8b88541bfe9aa4421ade149b30576d
parentb65321baffdc54f4759e1fd262ddebdb0b2cc578
PM / devfreq: Send the DEVFREQ_POSTCHANGE notification when target() is failed

This patch sends the DEVFREQ_POSTCHANGE notification when
devfreq->profile->targer() is failed. The PRECHANGE/POSTCHANGE
should be paired.

Fixes: 4774ce65a800 (PM / devfreq: Add new DEVFREQ_TRANSITION_NOTIFIER notifier)
Reported-by: Lin Huang <hl@rock-chips.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/devfreq/devfreq.c