aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/workqueue.c
diff options
context:
space:
mode:
authorPerry Yuan <perry.yuan@amd.com>2024-04-25 16:07:55 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-04-26 19:35:38 +0200
commit2ddb8a3946d4d02115b2dca53c5493ff00536002 (patch)
tree0479c1d26fd9859982a4179c37d0256576410308 /rust/helpers/workqueue.c
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 <ray.huang@amd.com> Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com> Tested-by: Dhananjay Ugwekar <Dhananjay.Ugwekar@amd.com> Signed-off-by: Perry Yuan <perry.yuan@amd.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions