android_kernel_xiaomi_sm8450/drivers/input/rmi4
Kunwu Chan fd238540fb Input: synaptics-rmi4 - fail probing if memory allocation for "phys" fails
[ Upstream commit bc4996184d56cfaf56d3811ac2680c8a0e2af56e ]

While input core can work with input->phys set to NULL userspace might
depend on it, so better fail probing if allocation fails. The system must
be in a pretty bad shape for it to happen anyway.

Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Link: https://lore.kernel.org/r/20240117073124.143636-1-chentao@kylinos.cn
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-13 12:59:44 +02:00
..
Kconfig
Makefile
rmi_2d_sensor.c
rmi_2d_sensor.h
rmi_bus.c
rmi_bus.h
rmi_driver.c Input: synaptics-rmi4 - fail probing if memory allocation for "phys" fails 2024-04-13 12:59:44 +02:00
rmi_driver.h
rmi_f3a.c
rmi_f01.c
rmi_f03.c
rmi_f11.c
rmi_f12.c
rmi_f30.c
rmi_f34.c
rmi_f34.h
rmi_f34v7.c
rmi_f54.c
rmi_f55.c
rmi_i2c.c
rmi_smbus.c
rmi_spi.c