diff options
author | Patrick Havelange | 2019-06-12 16:12:46 +0200 |
---|---|---|
committer | Thierry Reding | 2019-06-26 11:39:18 +0200 |
commit | a2a28229cdce7bd4d95ecf57ea1306a9e2c10137 (patch) | |
tree | 0343d179b052f50a8968d01dec828a3c09b9ef0b /drivers/pwm/pwm-pxa.c | |
parent | 3479bbd1e1f873704b11a65ab7efcfb5fd9353de (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