OSDN Git Service

pwm: qpnp: Enable glitch removal selectively
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>
Thu, 5 May 2016 01:45:28 +0000 (18:45 -0700)
committerKyle Yan <kyan@codeaurora.org>
Tue, 24 May 2016 21:15:27 +0000 (14:15 -0700)
commit2f79eb0e53a88766c6a73829a87bfaa34376f6e1
tree155058634e6caf53b593465a85b573d63da23e86
parent89b7331522ea239e17091c2c7e19175f90c86966
pwm: qpnp: Enable glitch removal selectively

Currently, glitch removal is enabled by default when the PWM
channel is configured. However, that adds delay to the PWM
output which is undesirable for longer PWM period. Disable the
glitch removal when PWM is configured and enable it after the
PWM is enabled.

CRs-Fixed: 1009283
Change-Id: Ibf4abb99e5e3e7aa9a9212b57094876f6ec6e9f0
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
drivers/pwm/pwm-qpnp.c