commit | 1df3a401154add23826d714c808204633b3b1c31 | [log] [tgz] |
---|---|---|
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | Wed Sep 18 18:13:00 2013 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Tue Oct 01 16:19:08 2013 +0100 |
tree | d229c451092f2a3b507beddb853e8dc83fb7b046 | |
parent | de40d1209898884ad5d15a7b5003d13f4f3263d5 [diff] |
HID: Delay opening HID device Don't call hid_open_device till there is actually an user. This saves power by not opening underlying transport for HID. Also close device if there are no active mfd client using HID sensor hub. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Jonathan Cameron <jic23@kernel.org>