UPSTREAM: PM / devfreq: Send the DEVFREQ_POSTCHANGE notification when target() is...
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 23 Jun 2016 02:18:43 +0000 (11:18 +0900)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 10 Aug 2016 10:32:27 +0000 (18:32 +0800)
commitc8076165ac390d4feb5ba49740bddb6517329d11
treeab3dfdb49b174b9791375bb356168ba620220274
parent9b59fc0d76d495c0bbef6f781b9fd02e82e59050
UPSTREAM: 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: 0fe3a66410a3 (PM / devfreq: Add new DEVFREQ_TRANSITION_NOTIFIER notifier)
Change-Id: I571fcc0ba95da6f7533d20818dfbd5f628c2f3ee
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>
(cherry picked from commit 0d37189e80163c653771916afe28fae1a8d14daa)
drivers/devfreq/devfreq.c