diff options
author | 2024-08-01 16:54:24 +0530 | |
---|---|---|
committer | 2024-08-01 07:36:54 -0700 | |
commit | 146458645e505f5eac498759bcd865cf7c0dfd9a (patch) | |
tree | a2bd2dc6952396f7eaf021c08cc5c320fe8a716c /drivers/gpu/drm/drm_print.c | |
parent | drm/xe/xe2: Enable Priority Mem Read (diff) | |
download | wireguard-linux-146458645e505f5eac498759bcd865cf7c0dfd9a.tar.xz wireguard-linux-146458645e505f5eac498759bcd865cf7c0dfd9a.zip |
drm/xe/hwmon: Fix PL1 disable flow in xe_hwmon_power_max_write
In xe_hwmon_power_max_write, for PL1 disable supported case, instead of
returning after PL1 disable, PL1 enable path was also being run.
Fixed it by returning after disable.
v2: Correct typo and grammar in commit message. (Jonathan)
Signed-off-by: Karthik Poosa <karthik.poosa@intel.com>
Fixes: fef6dd12b45a ("drm/xe/hwmon: Protect hwmon rw attributes with hwmon_lock")
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240801112424.1841766-1-karthik.poosa@intel.com
Diffstat (limited to 'drivers/gpu/drm/drm_print.c')
0 files changed, 0 insertions, 0 deletions