commit | 814b6d17487fd970f293ee674c90ba267f82415d | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Tue Sep 19 18:37:46 2017 -0700 |
committer | Jiri Kosina <jkosina@suse.cz> | Mon Oct 02 11:46:31 2017 +0200 |
tree | a9b76499e0997e8756143fcfdafefb770d134f0e | |
parent | 2a5e597c6bb1b873e473e5f57147e9e5d2755430 [diff] |
HID: hidraw: fix power sequence when closing device We should not try to bring HID device out of full power state before calling hid_hw_close(), so that transport driver operates on powered up device (making this inverse of the opening sequence). Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Reviewed-by: Guenter Roeck <groeck@chromium.org> Reviewed-by: Benson Leung <bleung@chromium.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>