diff options
author | Karthik Poosa <[email protected]> | 2024-08-01 16:54:24 +0530 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2024-08-08 13:48:01 -0400 |
commit | ac3191c5cf47e2d5220a1ed7353a2e498a1f415e (patch) | |
tree | a485ed9f5b3435d2841841fb01dc051656c81001 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 4f854a8b1b85d46abd5ce206936d23f87ac5e0c9 (diff) |
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 <[email protected]>
Fixes: fef6dd12b45a ("drm/xe/hwmon: Protect hwmon rw attributes with hwmon_lock")
Reviewed-by: Jonathan Cavitt <[email protected]>
Signed-off-by: Matt Roper <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 146458645e505f5eac498759bcd865cf7c0dfd9a)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions