summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorFabrice Gasnier <fabrice.gasnier@st.com>2019-10-04 15:53:52 +0300
committerThierry Reding <thierry.reding@gmail.com>2019-10-21 17:50:00 +0300
commit0f9d2ecba883d0788a34414a608055479be81ccd (patch)
tree202a3a1a804e5a1dfab07a2cc5083081afb9d2f9 /drivers/gpu
parent4205e356285ef0e8127d531fcff845eb01108b20 (diff)
downloadlinux-0f9d2ecba883d0788a34414a608055479be81ccd.tar.xz
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/gpu')
0 files changed, 0 insertions, 0 deletions