summaryrefslogtreecommitdiff
path: root/net/iucv
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2014-01-29 09:24:36 (GMT)
committerJiri Kosina <jkosina@suse.cz>2014-01-30 10:18:30 (GMT)
commit34f439e4afcdf4bdb42fda62428535a843bca02d (patch)
treee21748add1b93e789520ab4503e9552d09fbca4e /net/iucv
parent4988abf1749241bc80600a6b3283d03898d2717c (diff)
downloadlinux-34f439e4afcdf4bdb42fda62428535a843bca02d.tar.xz
HID: i2c-hid: add runtime PM support
This patch adds runtime PM support for the HID over I2C driver. When the i2c-hid device is first opened we power it on and on the last close we power it off. This is actually what the driver is already doing but in addition it allows subsystems, like ACPI power domain to power off the device during runtime PM suspend, which should save even more power. The implementation is not the most power efficient because it needs some interaction from the userspace (e.g close the device node whenever we are no more interested in getting events), nevertheless it allows us to save some power and works with devices that are not wake capable. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'net/iucv')
0 files changed, 0 insertions, 0 deletions