diff options
| author | Perry Yuan <[email protected]> | 2024-04-25 08:07:55 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2024-04-26 17:35:38 +0000 |
| commit | 2ddb8a3946d4d02115b2dca53c5493ff00536002 (patch) | |
| tree | 0479c1d26fd9859982a4179c37d0256576410308 /drivers/acpi/cppc_acpi.c | |
| parent | cpufreq: amd-pstate: Remove amd_get_{min,max,nominal,lowest_nonlinear}_freq() (diff) | |
| download | kernel-2ddb8a3946d4d02115b2dca53c5493ff00536002.tar.gz kernel-2ddb8a3946d4d02115b2dca53c5493ff00536002.zip | |
cpufreq: amd-pstate: Bail out if min/max/nominal_freq is 0
The amd-pstate driver cannot work when the min_freq, nominal_freq or
the max_freq is zero. When this happens it is prudent to error out
early on rather than waiting failing at the time of the governor
initialization.
Acked-by: Huang Rui <[email protected]>
Reviewed-by: Gautham R. Shenoy <[email protected]>
Tested-by: Dhananjay Ugwekar <[email protected]>
Signed-off-by: Perry Yuan <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions
