diff options
author | Andrew Duggan <aduggan@synaptics.com> | 2014-08-07 00:37:40 +0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-08-14 13:41:56 +0400 |
commit | daebdd7ee30b4ec7dd6a4e90f1f66c86ec113bbc (patch) | |
tree | 4e06bc878fba105be6c1894d55dde20802699ae6 /drivers/hid/hid-lg4ff.c | |
parent | 5be5db24fc0883d9e38df378c1de9a00f8933999 (diff) | |
download | linux-daebdd7ee30b4ec7dd6a4e90f1f66c86ec113bbc.tar.xz |
HID: rmi: print an error if F11 is not found instead of stopping the device
Currently rmi_probe will return -EIO if the device doesn't report that it has F11.
This would indicate that something happened and the device is in the bootloader.
We can recover the device using a userspace firmware update tool, but it needs
access to the device through the hidraw device file. If the probe returns -EIO
the hidraw device won't be created. So instead of failing the probe, just print
an error message, but leave the device accessible from userspace.
Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-lg4ff.c')
0 files changed, 0 insertions, 0 deletions