diff options
author | Nikolai Kondrashov <spbnick@gmail.com> | 2014-08-11 20:45:31 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-08-12 12:44:58 +0200 |
commit | 657d6dc4197e9bc13522d0ed0e1a4ae7d0d84614 (patch) | |
tree | 0dc75926ec3c4401c84b4d988f263860d6d46f3b /mm | |
parent | 172bfe09dc52aef29f9c5c0bd9f77a558120faf4 (diff) |
HID: huion: Fail on parameter retrieval errors
Fail Huion tablet interface enabling and probing, if parameter retrieval
fails. Move the main code path out of the else block accordingly.
This should prevent devices appearing in a half-working state due to
original report descriptor being used, simplifying diagnostics. This
also makes it easier to add cleanup in later commits, as error handling
is simplified.
Signed-off-by: Nikolai Kondrashov <spbnick@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions