diff options
| author | 2025-07-13 13:29:37 -0400 | |
|---|---|---|
| committer | 2025-07-22 17:38:58 +0300 | |
| commit | 147c18d8efaa1fa006fdd0b901d51092dc3b2189 (patch) | |
| tree | 5884706f7cd1242560e73b8637ba2936f8292e01 /drivers/platform/x86/intel/pmt/class.c | |
| parent | platform/x86/intel/pmt: use guard(mutex) (diff) | |
| download | wireguard-linux-147c18d8efaa1fa006fdd0b901d51092dc3b2189.tar.xz wireguard-linux-147c18d8efaa1fa006fdd0b901d51092dc3b2189.zip | |
platform/x86/intel/pmt: re-order trigger logic
Setting the clear bit or checking the complete bit before checking to
see if crashlog is disabled seems incorrect.
Check disable before accessing any other bits.
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: David E. Box <david.e.box@linux.intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Link: https://lore.kernel.org/r/20250713172943.7335-8-michael.j.ruhl@intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
