diff options
author | Dmitry Torokhov <[email protected]> | 2024-09-03 13:59:06 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2024-09-03 15:01:11 -0700 |
commit | a790df272a20dcc88ffebe20eca34c54f528fcaa (patch) | |
tree | 77c3346eb139a349eb3c1719c8d36f1f62c99ab2 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 8f5ea12942ad60a0798fcb68995df8a23b8567b7 (diff) |
Input: synaptics-rmi4 - fix crash when DPM query is not supported
Stop clobbering "item" variable when checking if the device supports
querying DPM values because its original value is still needed in
case when we need to fall back to the old way of figuring sensor size.
Reported-by: Richard Acayan <[email protected]>
Tested-by: Richard Acayan <[email protected]>
Fixes: 14d650fcb7fb ("Input: synaptics-rmi4 - add support for querying DPM value (F12)")
Link: https://lore.kernel.org/r/ZtdQW7nqAOEJDNBN@radian
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions