diff options
author | Leonard Crestez <[email protected]> | 2019-10-31 23:34:18 +0200 |
---|---|---|
committer | Chanwoo Choi <[email protected]> | 2019-12-09 12:19:15 +0900 |
commit | e876e710ede23f670494331e062d643928e4142a (patch) | |
tree | f39fc6b702d6e54cf2ebe9e62fa0d1199488c3c6 /lib/netdev-notifier-error-inject.c | |
parent | e42617b825f8073569da76dc4510bfa019b1c35a (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 <[email protected]>
Reviewed-by: Matthias Kaehlcke <[email protected]>
Reviewed-by: Chanwoo Choi <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions