diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-01-13 09:15:41 +0300 |
---|---|---|
committer | Benjamin Tissoires <bentiss@kernel.org> | 2025-01-13 12:47:12 +0300 |
commit | 0b0d62fa73f22884e1ddd4ed6e288f959ad116ae (patch) | |
tree | f022b670900ca77508115a5dd4503a9cc16cd85f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5f420e8215c6642998900315f25608d831d93da7 (diff) | |
download | linux-0b0d62fa73f22884e1ddd4ed6e288f959ad116ae.tar.xz |
HID: intel-thc-hid: intel-thc: Fix error code in thc_i2c_subip_init()
Return -ENOMEM if the allocation fails. Don't return success.
Fixes: 4228966def88 ("HID: intel-thc-hid: intel-thc: Add THC I2C config interfaces")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/eb4ea363-c3b7-4988-9ff5-5ed74bf47620@stanley.mountain
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions