diff options
author | Charles Wang <charles.goodix@gmail.com> | 2024-10-31 20:31:12 +0800 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2024-11-06 15:08:31 +0100 |
commit | be8f7f2281a26abbda26ce37c5ee4674022a7a2f (patch) | |
tree | 477b708a3cf8ee9efcfed22f209fe08d3f41b677 /rust/helpers/helpers.c | |
parent | c9a50b90905a1dc79ca72d4a262da30d3572ca9e (diff) | |
download | linux-be8f7f2281a26abbda26ce37c5ee4674022a7a2f.tar.gz linux-be8f7f2281a26abbda26ce37c5ee4674022a7a2f.tar.bz2 linux-be8f7f2281a26abbda26ce37c5ee4674022a7a2f.zip |
HID: hid-goodix: Return 0 when receiving an empty HID feature package
Align with the i2c-hid driver by returning 0 instead of -EINVAL when
an empty response is received, ensuring that userspace programs utilizing
the hidraw node receive consistent return values.
Signed-off-by: Charles Wang <charles.goodix@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions