]> git.baikalelectronics.ru Git - kernel.git/commit
iio: magnetometer: mmc35240: Add PM sleep support
authorDaniel Baluta <daniel.baluta@intel.com>
Fri, 24 Apr 2015 15:58:31 +0000 (18:58 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 10 May 2015 19:31:45 +0000 (20:31 +0100)
commit6cd30738087824de6bbb5fc364d167d34f91a334
tree66fa5fff8e4c6d6df673de01faff1865fa8b41b8
parentee54464bca3a0f952ffce9a06c3e8b6fe00b63d7
iio: magnetometer: mmc35240: Add PM sleep support

We rely on regmap to save the state of the registers at suspend,
and then we do an explicit sync at resume.

Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/mmc35240.c