summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-lpss-pci.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-lpss-pci.c
parentpwm: fsl-ftm: More relaxed permissions for updating period (diff)
downloadkernel-qcow2-linux-a2a28229cdce7bd4d95ecf57ea1306a9e2c10137.tar.gz
kernel-qcow2-linux-a2a28229cdce7bd4d95ecf57ea1306a9e2c10137.tar.xz
kernel-qcow2-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 'drivers/pwm/pwm-lpss-pci.c')
0 files changed, 0 insertions, 0 deletions