2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-11 23:03:55 +08:00
linux-next/drivers/fsi
Lakshmi Yadlapati c5eeb63eda fsi: Fix panic on scom file read
Reading the scom file without the custom open method (i2cr_scom_open)
causes a kernel panic. This change replaces simple_open with i2cr_scom_open
to properly initialize the private_data field in the file structure,
preventing the panic during scom file operations.

Fixes: c0b34bed0b ("fsi: Add I2C Responder SCOM driver")
Signed-off-by: Lakshmi Yadlapati <lakshmiy@us.ibm.com>
Reviewed-by: Ninad Palsule <ninad@linux.ibm.com>
Link: https://lore.kernel.org/r/20231214000744.1281464-1-lakshmiy@us.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2023-12-14 19:44:11 +10:30
..
cf-fsi-fw.h fsi: cf-fsi-fw: Use the correct style for SPDX License Identifier 2019-06-19 19:35:51 +02:00
fsi-core.c fsi: Lock mutex for master device registration 2023-08-11 13:32:14 +09:30
fsi-master-aspeed.c fsi: aspeed: Reset master errors after CFAM reset 2023-08-09 15:43:28 +09:30
fsi-master-ast-cf.c fsi: fix some spelling mistakes in comment 2023-08-11 13:32:15 +09:30
fsi-master-gpio.c fsi: Move fsi_slave structure definition to header 2023-08-09 15:41:59 +09:30
fsi-master-hub.c fsi: Move fsi_slave structure definition to header 2023-08-09 15:41:59 +09:30
fsi-master-i2cr.c fsi: i2cr: Switch to use struct i2c_driver's .probe() 2023-08-22 15:51:33 +02:00
fsi-master-i2cr.h fsi: Add IBM I2C Responder virtual FSI master 2023-08-11 13:32:14 +09:30
fsi-master.h fsi: Move fsi_slave structure definition to header 2023-08-09 15:41:59 +09:30
fsi-occ.c fsi: Explicitly include correct DT includes 2023-08-09 15:40:11 +09:30
fsi-sbefifo.c fsi: sbefifo: Handle pending write command 2023-12-14 19:42:27 +10:30
fsi-scom.c fsi: Use of_match_table for bus matching if specified 2023-08-09 15:43:27 +09:30
fsi-slave.h fsi: Move fsi_slave structure definition to header 2023-08-09 15:41:59 +09:30
i2cr-scom.c fsi: Fix panic on scom file read 2023-12-14 19:44:11 +10:30
Kconfig fsi: Add I2C Responder SCOM driver 2023-08-11 13:32:14 +09:30
Makefile fsi: Add I2C Responder SCOM driver 2023-08-11 13:32:14 +09:30