android_kernel_xiaomi_sm8350/drivers/input/rmi4
Kunwu Chan e04cae532a 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:51:38 +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:51:38 +02:00
rmi_driver.h
rmi_f01.c Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina 2019-07-01 17:41:24 -07:00
rmi_f03.c
rmi_f11.c
rmi_f12.c Input: synaptics-rmi4 - do not consume more data than we have (F11, F12) 2019-11-04 16:11:50 -08:00
rmi_f30.c
rmi_f34.c
rmi_f34.h
rmi_f34v7.c
rmi_f54.c Input: synaptics-rmi4 - destroy F54 poller workqueue when removing 2019-11-15 11:46:33 -08:00
rmi_f55.c
rmi_i2c.c
rmi_smbus.c
rmi_spi.c