linux/drivers/hid/intel-thc-hid
Dan Carpenter ae4ac07733 HID: intel-thc-hid: Intel-quickspi: Fix some error codes
If we have a partial read that is supposed to be treated as failure but
in this code we forgot to set the error code.  Return -EINVAL.

Fixes: 9d8d51735a ("HID: intel-thc-hid: intel-quickspi: Add HIDSPI protocol implementation")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Even Xu <even.xu@intel.com>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
History 2026-04-28 18:35:29 +02:00
..
intel-quicki2c HID: Intel-thc-hid: Intel-quicki2c: Add NVL Device IDs 2026-03-17 23:59:50 +01:00
intel-quickspi HID: intel-thc-hid: Intel-quickspi: Fix some error codes 2026-04-28 18:35:29 +02:00
intel-thc HID: intel-thc-hid: Intel-thc: Add more frequency support for SPI 2026-03-27 13:30:44 +01:00
Kconfig hid: intel-thc-hid: Select SGL_ALLOC 2026-01-07 15:09:07 +01:00
Makefile HID: Intel-thc-hid: Intel-thc: Add Wake-on-Touch support 2025-06-10 21:19:50 +02:00