diff options
author | 2025-01-13 09:15:41 +0300 | |
---|---|---|
committer | 2025-01-13 10:47:12 +0100 | |
commit | 0b0d62fa73f22884e1ddd4ed6e288f959ad116ae (patch) | |
tree | f022b670900ca77508115a5dd4503a9cc16cd85f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | HID: intel-thc-hid: intel-quicki2c: Add PM implementation (diff) | |
download | linux-rng-0b0d62fa73f22884e1ddd4ed6e288f959ad116ae.tar.xz linux-rng-0b0d62fa73f22884e1ddd4ed6e288f959ad116ae.zip |
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 '')
0 files changed, 0 insertions, 0 deletions