Skip to content
Commit a2a28229 authored by Patrick Havelange's avatar Patrick Havelange Committed by Thierry Reding
Browse files

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: default avatarPatrick Havelange <patrick.havelange@essensium.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 3479bbd1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment