diff options
author | 2012-03-27 02:23:40 +0530 | |
---|---|---|
committer | 2012-05-04 19:37:37 -0700 | |
commit | 48bc177441d68c0ba70631beb544c3d695328d56 (patch) | |
tree | c0f93f8a53a4bf72482be34536571d48e265c7c0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | max17042_battery: Fix driver exit function (diff) | |
download | linux-dev-48bc177441d68c0ba70631beb544c3d695328d56.tar.xz linux-dev-48bc177441d68c0ba70631beb544c3d695328d56.zip |
max17042_battery: Add suspend/resume hooks
This patch adds suspend/resume methods to the driver.
In suspend method irq line is disabled to avoid i2c
read/write errors from the interrupt handler as the
i2c bus itself could be in suspend state.
In resume function irq line will be re-enabled.
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions