aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorPerry Yuan <[email protected]>2024-04-25 08:07:55 +0000
committerRafael J. Wysocki <[email protected]>2024-04-26 17:35:38 +0000
commit2ddb8a3946d4d02115b2dca53c5493ff00536002 (patch)
tree0479c1d26fd9859982a4179c37d0256576410308 /drivers/acpi/cppc_acpi.c
parentcpufreq: amd-pstate: Remove amd_get_{min,max,nominal,lowest_nonlinear}_freq() (diff)
downloadkernel-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