commit | 7682bfa411f4197de3a3cf3d6194ef3dac93808d | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <[email protected]> | Tue Sep 29 15:52:59 2015 -0700 |
committer | Dmitry Shmidt <[email protected]> | Thu Jan 07 13:54:30 2016 -0800 |
tree | 0116b356ad211704790a3d028ec6145cb7113bbf | |
parent | 9bed3bf5ed21067a3fc753315847a963d860c43e [diff] |
UPSTREAM: 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 <[email protected]> Signed-off-by: Arve Hjønnevåg <[email protected]> Reviewed-by: Benjamin Tissoires <[email protected]> Reviewed-by: David Herrmann <[email protected]> Acked-by: Nikolai Kondrashov <[email protected]> Acked-by: Andrew Duggan <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]> Signed-off-by: Jiri Kosina <[email protected]> Change-Id: I3494c1937b84ff6cd654aef25b5c803aff69f61d (cherry picked from commit 9154301a47b33bdc273d8254c407792524367558) Signed-off-by: Amit Pundir <[email protected]>