diff options
| author | Dan Carpenter <error27@gmail.com> | 2026-04-23 10:10:02 +0300 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.com> | 2026-04-28 19:35:29 +0300 |
| commit | ae4ac077332ea3341a0f4c0973556c6b7ac5b7a1 (patch) | |
| tree | 5b7057664e725e8a29af9400749d1d2973b2b11c /tools/lib/python | |
| parent | 3524900cc571bd922a1a6b6a0eb0c2705cdb3559 (diff) | |
| download | linux-ae4ac077332ea3341a0f4c0973556c6b7ac5b7a1.tar.xz | |
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: 9d8d51735a3a ("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>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
