diff options
author | Patrick Havelange <patrick.havelange@essensium.com> | 2019-06-12 16:12:46 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2019-06-26 11:39:18 +0200 |
commit | a2a28229cdce7bd4d95ecf57ea1306a9e2c10137 (patch) | |
tree | 0343d179b052f50a8968d01dec828a3c09b9ef0b /COPYING | |
parent | pwm: fsl-ftm: More relaxed permissions for updating period (diff) | |
download | linux-a2a28229cdce7bd4d95ecf57ea1306a9e2c10137.tar.xz linux-a2a28229cdce7bd4d95ecf57ea1306a9e2c10137.zip |
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 'COPYING')
0 files changed, 0 insertions, 0 deletions