summaryrefslogtreecommitdiff
path: root/drivers/greybus
diff options
context:
space:
mode:
authorFabrice Gasnier <fabrice.gasnier@st.com>2019-10-04 14:53:52 +0200
committerThierry Reding <thierry.reding@gmail.com>2019-10-21 16:50:00 +0200
commit0f9d2ecba883d0788a34414a608055479be81ccd (patch)
tree202a3a1a804e5a1dfab07a2cc5083081afb9d2f9 /drivers/greybus
parent4205e356285ef0e8127d531fcff845eb01108b20 (diff)
pwm: stm32: Split breakinput apply routine to ease PM support
Split breakinput routine that configures STM32 timers 'break' safety feature upon probe, into two routines: - stm32_pwm_apply_breakinputs() sets all the break inputs into registers. - stm32_pwm_probe_breakinputs() probes the device tree break input settings before calling stm32_pwm_apply_breakinputs() This is a precursor patch to ease PM support. Registers content may get lost during low power. So, break input settings applied upon probe need to be restored upon resume (e.g. by calling stm32_pwm_apply_breakinputs()). Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/greybus')
0 files changed, 0 insertions, 0 deletions