WSL2-Linux-Kernel/drivers/misc/mei
Alexander Usyskin 7d5b199be2 mei: demote client disconnect warning on suspend to debug
[ Upstream commit 1db5322b7e6b58e1b304ce69a50e9dca798ca95b ]

Change level for the "not connected" client message in the write
callback from error to debug.

The MEI driver currently disconnects all clients upon system suspend.
This behavior is by design and user-space applications with
open connections before the suspend are expected to handle errors upon
resume, by reopening their handles, reconnecting,
and retrying their operations.

However, the current driver implementation logs an error message every
time a write operation is attempted on a disconnected client.
Since this is a normal and expected flow after system resume
logging this as an error can be misleading.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20240530091415.725247-1-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-27 10:46:10 +02:00
..
hdcp misc/mei/hdcp: Use correct macros to initialize uuid_le 2023-03-10 09:39:38 +01:00
Kconfig
Makefile
bus-fixup.c mei: bus-fixup:upon error print return values of send and receive 2023-03-11 13:57:34 +01:00
bus.c
client.c misc: mei: client.c: fix problem of return '-EOVERFLOW' in mei_cl_write 2023-12-13 18:36:45 +01:00
client.h
debugfs.c
dma-ring.c
hbm.c mei: hbm: drop capability response on early shutdown 2022-06-22 14:22:03 +02:00
hbm.h
hw-me-regs.h mei: me: add lunar lake point M DID 2024-05-17 11:51:05 +02:00
hw-me.c mei: me: disable driver on the ign firmware 2022-04-08 14:22:49 +02:00
hw-me.h
hw-txe-regs.h
hw-txe.c
hw-txe.h
hw.h
init.c
interrupt.c mei: avoid iterator usage outside of list_for_each_entry 2022-04-08 14:22:49 +02:00
main.c mei: demote client disconnect warning on suspend to debug 2024-07-27 10:46:10 +02:00
mei-trace.c
mei-trace.h
mei_dev.h
pci-me.c mei: me: release irq in mei_me_pci_resume error path 2024-07-05 09:14:14 +02:00
pci-txe.c