android_kernel_xiaomi_sm8450/drivers/misc
Alexander Usyskin 9774641b25 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:40:18 +02:00
..
altera-stapl
c2port
cardreader misc: rtsx: Fix an error handling path in rtsx_pci_probe() 2022-08-21 15:15:55 +02:00
cb710 cb710: avoid NULL pointer subtraction 2021-10-20 11:45:00 +02:00
cxl cxl: Fix refcount leak in cxl_calc_capp_routing 2023-01-14 10:16:06 +01:00
echo
eeprom eeprom: at24: fix memory corruption race condition 2024-05-17 11:47:57 +02:00
genwqe
habanalabs habanalabs: Add check for pci_enable_device 2022-04-08 14:40:25 +02:00
ibmasm misc/libmasm/module: Fix two use after free in ibmasm_init_one 2021-07-20 16:05:38 +02:00
lis3lv02d platform/x86: hp_accel: Avoid invoking _INI to speed up resume 2021-06-03 09:00:39 +02:00
lkdtm lkdtm/usercopy: Expand size of "out of frame" object 2022-06-14 18:32:41 +02:00
mei mei: demote client disconnect warning on suspend to debug 2024-07-27 10:40:18 +02:00
ocxl ocxl: fix pci device refcount leak when calling get_function_0() 2023-01-14 10:15:57 +01:00
sgi-gru misc: sgi-gru: fix use-after-free error in gru_set_context_option, gru_fault and gru_handle_user_call_os 2023-01-14 10:15:57 +01:00
sgi-xp
ti-st misc: st_core: Do not call kfree_skb() under spin_lock_irqsave() 2023-11-20 11:06:53 +01:00
uacce uacce: Handle parent device removal or parent driver module rmmod 2022-08-25 11:38:14 +02:00
vmw_vmci vmci: prevent speculation leaks by sanitizing event in event_deliver() 2024-07-05 09:12:30 +02:00
ad525x_dpot-i2c.c
ad525x_dpot-spi.c
ad525x_dpot.c
ad525x_dpot.h
apds990x.c
apds9802als.c
atmel_tclib.c
atmel-ssc.c misc: atmel-ssc: Fix IRQ check in ssc_probe 2022-06-22 14:13:16 +02:00
bh1770glc.c
cs5535-mfgpt.c
ds1682.c
dummy-irq.c
enclosure.c
fastrpc.c misc: fastrpc: Mark all sessions as invalid in cb_remove 2024-02-23 08:42:26 +01:00
hisi_hikey_usb.c
hmc6352.c
hpilo.c
hpilo.h
ibmvmc.c
ibmvmc.h
ics932s401.c ics932s401: fix broken handling of errors when word reading fails 2021-05-26 12:06:56 +02:00
isl29003.c
isl29020.c
Kconfig
kgdbts.c kgdbts: fix return value of __setup handler 2022-04-08 14:40:28 +02:00
lattice-ecp3-config.c misc: lattice-ecp3-config: Fix task hung when firmware load failed 2022-01-27 10:54:08 +01:00
Makefile
pch_phub.c
pci_endpoint_test.c misc: pci_endpoint_test: Add deviceID for J721S2 PCIe EP device support 2023-12-08 08:46:14 +01:00
phantom.c
pti.c
pvpanic.c
qcom-coincell.c
sram-exec.c
sram.c treewide: Change list_sort to use const pointers 2021-09-30 10:11:04 +02:00
sram.h
tifm_7xx1.c misc: tifm: fix possible memory leak in tifm_7xx1_switch_media() 2023-01-14 10:15:57 +01:00
tifm_core.c
tsl2550.c
vmw_balloon.c
xilinx_sdfec.c