diff options
| author | Jiri Kosina <[email protected]> | 2018-04-19 07:25:15 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2018-04-19 07:25:15 +0000 |
| commit | b658912cb023cd6f8e46963d29779903d3c10538 (patch) | |
| tree | c3aaf596593d41006ee98491e7b28d38b21e3491 /lib/netdev-notifier-error-inject.c | |
| parent | HID: i2c-hid: Fix resume issue on Raydium touchscreen device (diff) | |
| download | kernel-b658912cb023cd6f8e46963d29779903d3c10538.tar.gz kernel-b658912cb023cd6f8e46963d29779903d3c10538.zip | |
HID: i2c-hid: fix inverted return value from i2c_hid_command()
i2c_hid_command() returns non-zero in error cases (the actual
errno). Error handling in for I2C_HID_QUIRK_RESEND_REPORT_DESCR
case in i2c_hid_resume() had the check inverted; fix that.
Fixes: 3e83eda467 ("HID: i2c-hid: Fix resume issue on Raydium touchscreen device")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
