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)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 4 Sep 2017 05:33:26 +0000 (14:33 +0900)
commit54bbc0baab9b04860f995352d78668dc5f456297
tree0f6fdf3fe5d6b598b80715e61668333792181196
parent144143c10290e99f98c821b19546c8a92e9dac86
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)
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