commit | c5b8425514da595763850ae2f3ef78ababe4be80 | [log] [tgz] |
---|---|---|
author | Fabrice Gasnier <fabrice.gasnier@st.com> | Mon Feb 10 18:19:58 2020 +0100 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Fri Feb 21 10:02:15 2020 +0000 |
tree | fcf3b4655b50e76585ffd19ca3252f1e9734b94e | |
parent | b9cd7be04b0e6cb844f4c64ce05ba892095eb521 [diff] |
counter: stm32-timer-cnt: add power management support Add suspend/resume PM sleep ops. When going to low power, enforce the counter isn't active. Gracefully restore its state upon resume in case it's been left enabled prior to suspend. Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>