diff options
| author | Suraj Kandpal <[email protected]> | 2024-12-03 08:47:01 +0000 |
|---|---|---|
| committer | Suraj Kandpal <[email protected]> | 2024-12-05 03:34:28 +0000 |
| commit | 5105c803295e4c2004aad518713208fae42bfc33 (patch) | |
| tree | 0ec8d63ca5ac0c7ea47919b2f510c1223f183edd /drivers/platform/x86/intel/pmt/class.c | |
| parent | drm/i915: Fix memory leak by correcting cache object name in error handler (diff) | |
| download | kernel-5105c803295e4c2004aad518713208fae42bfc33.tar.gz kernel-5105c803295e4c2004aad518713208fae42bfc33.zip | |
drm/i915/wm: Initialize max_latency variable to appropriate value
Initialize max_latency variable to LNL_PKG_C_LATENCY_MASK which helps
to eliminate the else block and make the whole code a lot cleaner.
--v2
-Seprate patch to club variables together [Mitul]
Signed-off-by: Suraj Kandpal <[email protected]>
Reviewed-by: Mitul Golani <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
