diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-09-30 00:52:59 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-09-30 10:07:09 +0200 |
commit | b2c68a2f1bab3e3d3bf4ab2b5fcd94cd37f61b41 (patch) | |
tree | b8d5fbadb77568922c5f804777bbb2aa998d9a6d /arch/nios2/kernel | |
parent | HID: Make I2C a known bus in hid_connect() (diff) | |
download | linux-b2c68a2f1bab3e3d3bf4ab2b5fcd94cd37f61b41.tar.xz linux-b2c68a2f1bab3e3d3bf4ab2b5fcd94cd37f61b41.zip |
HID: hid-input: allow input_configured callback return errors
When configuring input device via input_configured callback we may
encounter errors (for example input_mt_init_slots() may fail). Instead
of continuing with half-initialized input device let's allow driver
indicate failures.
Signed-off-by: Jaikumar Ganesh <jaikumarg@android.com>
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Acked-by: Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com>
Acked-by: Andrew Duggan <aduggan@synaptics.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'arch/nios2/kernel')
0 files changed, 0 insertions, 0 deletions