aboutsummaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-pxa.c
diff options
context:
space:
mode:
authorPatrick Havelange2019-06-12 16:12:46 +0200
committerThierry Reding2019-06-26 11:39:18 +0200
commita2a28229cdce7bd4d95ecf57ea1306a9e2c10137 (patch)
tree0343d179b052f50a8968d01dec828a3c09b9ef0b /drivers/pwm/pwm-pxa.c
parent3479bbd1e1f873704b11a65ab7efcfb5fd9353de (diff)
pwm: fsl-ftm: Use write protection for prescaler & polarity
Modifying the prescaler or polarity value must be done with the write protection disabled. Currently this is working by chance as the write protection is in a disabled state by default. This patch makes sure that we enable/disable the write protection when needed. Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-pxa.c')
0 files changed, 0 insertions, 0 deletions