aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorCharles Wang <charles.goodix@gmail.com>2024-10-31 20:31:12 +0800
committerJiri Kosina <jkosina@suse.com>2024-11-06 15:08:31 +0100
commitbe8f7f2281a26abbda26ce37c5ee4674022a7a2f (patch)
tree477b708a3cf8ee9efcfed22f209fe08d3f41b677 /rust/helpers/helpers.c
parentc9a50b90905a1dc79ca72d4a262da30d3572ca9e (diff)
downloadlinux-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