diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-09-19 14:22:20 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-09-20 14:08:54 +0300 |
commit | 7b1b7961170e4fcad488755e5ffaaaf9bd527e8f (patch) | |
tree | 349104b25a05f08c32e4b50ac6b18a03e61a8538 /drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c | |
parent | 8dba0fd9cee34b80d6e26a188115e5427773285a (diff) | |
download | linux-7b1b7961170e4fcad488755e5ffaaaf9bd527e8f.tar.xz |
cpuidle: Fail cpuidle device registration if there is one already
Refuse to register a cpuidle device if the given CPU has a cpuidle
device already and print a message regarding it.
Without this, an attempt to register a new cpuidle device without
unregistering the existing one leads to the removal of the existing
cpuidle device without removing its sysfs interface.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c')
0 files changed, 0 insertions, 0 deletions