commit | 6dc3e36fbc4c68d57f588c3241e78c25b24d48aa | [log] [tgz] |
---|---|---|
author | Fabrice Gasnier <fabrice.gasnier@st.com> | Mon Feb 25 11:42:47 2019 +0100 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Thu Apr 04 20:19:45 2019 +0100 |
tree | 92354d4928f04f2218c4db2c0c768e6fc84c4a77 | |
parent | 74896202dfb71e7142adc4042f0cc812cb4be4c5 [diff] |
iio: counter: stm32-lptimer: Add power management support Add suspend/resume PM sleep ops. When going to low power, disable active counter. Only active counter should be resumed: don't touch disabled counter, as it may be used by other LPTimer MFD child driver. Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>