aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers
diff options
context:
space:
mode:
authorPerry Yuan <[email protected]>2024-04-25 16:07:55 +0800
committerRafael J. Wysocki <[email protected]>2024-04-26 19:35:38 +0200
commit2ddb8a3946d4d02115b2dca53c5493ff00536002 (patch)
tree0479c1d26fd9859982a4179c37d0256576410308 /rust/helpers
parent3cbbe8871a2fb8f454e740f3e04ff2e29b573abe (diff)
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 'rust/helpers')
0 files changed, 0 insertions, 0 deletions