HID:hid-lg4ff: Initialize device properties before we touch autocentering.
authorSimon Wood <simon@mungewell.org>
Wed, 6 Nov 2013 19:30:43 +0000 (12:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Dec 2013 18:57:20 +0000 (10:57 -0800)
commit43f0ba99fcd871a936df8c25b438759708884df8
tree80de7c3e87af6968015b26b30394da174ab36a9d
parentb806304bde504aff3b74f9a75e579b7170b5d65a
HID:hid-lg4ff: Initialize device properties before we touch autocentering.

commit 114a55cf9dd1576e7ac56189832cd4d7dc56c218 upstream.

Re-arrange code slightly to ensure that device properties are configured
before calling auto-center command.

Reported-by: Michal MalĂ˝ <madcatxster@prifuk.cz>
Signed-off-by: Simon Wood <simon@mungewell.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/hid-lg4ff.c