diff options
| author | Geert Uytterhoeven <[email protected]> | 2021-08-24 15:23:38 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2021-08-27 18:48:23 +0000 |
| commit | 656164181eece68a2f99f0b8a1c5558184b67d7b (patch) | |
| tree | 8de638422d050aedc232a94db3461fe22b7fc981 /scripts/clang-tools/gen_compile_commands.py | |
| parent | arm64: dts: sc7180: Add required-opps for i2c (diff) | |
| download | kernel-656164181eece68a2f99f0b8a1c5558184b67d7b.tar.gz kernel-656164181eece68a2f99f0b8a1c5558184b67d7b.zip | |
PM: domains: Fix domain attach for CONFIG_PM_OPP=n
If CONFIG_PM_OPP=n, of_get_required_opp_performance_state() always
returns -EOPNOTSUPP, and all drivers for devices that are part of a PM
Domain fail to probe with:
failed to set required performance state for power-domain foo: -95
probe of bar failed with error -95
Fix this by treating -EOPNOTSUPP the same as -ENODEV.
Fixes: c016baf7dc58e77a ("PM: domains: Add support for 'required-opps' to set default perf state")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Niklas Söderlund <[email protected]>
Reviewed-by: Ulf Hansson <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
