diff options
| author | Tushar Tibude <tushar.tibude1000@gmail.com> | 2026-04-30 14:12:23 +0530 |
|---|---|---|
| committer | Tony Luck <tony.luck@intel.com> | 2026-05-29 08:34:11 -0700 |
| commit | 0dc6ed85303e691dc657607cee6b68be5ade3988 (patch) | |
| tree | acfa8975f54e9c5c3d7a3db13aa7b8b98f7511e6 /include/linux | |
| parent | 2951f7bc4e8a6514112f365a971b8606824361b6 (diff) | |
EDAC/i5400: disable error reporting at teardown and refactor helper
If error reporting is enabled during initialization but initialization
fails immediately after, or during normal driver teardown, error reporting
is left enabled in the mask register even after exit.
Replace i5400_enable_error_reporting() with i5400_set_error_reporting()
to combine enabling/disabling. Disable reporting at initialization
failure and driver exit, before call to i5400_put_devices() for cleanup.
This ensures clean hardware handling by disabling any unused error
reporting bits before exiting.
Signed-off-by: Tushar Tibude <tushar.tibude1000@gmail.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Reviewed-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Link: https://patch.msgid.link/20260430084223.9298-4-tushar.tibude1000@gmail.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
