diff options
author | 2022-08-30 15:35:37 -0400 | |
---|---|---|
committer | 2022-08-31 15:56:44 -0400 | |
commit | ff4e0cafe845110c9b7fe26eb8a6b49d60a1288c (patch) | |
tree | 0a383a05fedbee3692b903080e22784f5d3162dc /scripts/generate_rust_analyzer.py | |
parent | drm/i915/ats-m: Add thread execution tuning setting (diff) | |
download | wireguard-linux-ff4e0cafe845110c9b7fe26eb8a6b49d60a1288c.tar.xz wireguard-linux-ff4e0cafe845110c9b7fe26eb8a6b49d60a1288c.zip |
drm/i915/slpc: Fix inconsistent locked return
Fix for intel_guc_slpc_set_min_freq() warn:
inconsistent returns '&slpc->lock'.
v2: Avoid with_intel_runtime_pm with the
internal goto/return. (Ashutosh)
Also standardize the 'ret' if this came from
the efficient setup. And avoid the 'unlikely'.
Fixes: 95ccf312a1e4 ("drm/i915/guc/slpc: Allow SLPC to use efficient frequency")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220830193537.52201-1-rodrigo.vivi@intel.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions