summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLeonard Crestez <leonard.crestez@nxp.com>2019-10-31 23:34:18 +0200
committerChanwoo Choi <cw00.choi@samsung.com>2019-12-09 12:19:15 +0900
commite876e710ede23f670494331e062d643928e4142a (patch)
treef39fc6b702d6e54cf2ebe9e62fa0d1199488c3c6 /scripts
parente42617b825f8073569da76dc4510bfa019b1c35a (diff)
PM / devfreq: Fix devfreq_notifier_call returning errno
Notifier callbacks shouldn't return negative errno but one of the NOTIFY_OK/DONE/BAD values. The OPP core will ignore return values from notifiers but returning a value that matches NOTIFY_STOP_MASK will stop the notification chain. Fix by always returning NOTIFY_OK. Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com> Reviewed-by: Matthias Kaehlcke <mka@chromium.org> Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions