aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorLeonard Crestez <[email protected]>2019-10-31 23:34:19 +0200
committerChanwoo Choi <[email protected]>2019-12-09 12:19:15 +0900
commite7cc792d00049c874010b398a27c3cc7bc8fef34 (patch)
tree4849c6d5da6cb21115a5e24c0bddfa218e40537a /lib/netdev-notifier-error-inject.c
parente876e710ede23f670494331e062d643928e4142a (diff)
PM / devfreq: Set scaling_max_freq to max on OPP notifier error
The devfreq_notifier_call functions will update scaling_min_freq and scaling_max_freq when the OPP table is updated. If fetching the maximum frequency fails then scaling_max_freq remains set to zero which is confusing. Set to ULONG_MAX instead so we don't need special handling for this case in other places. 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