summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorFenglin Wu <fenglinw@codeaurora.org>2017-08-14 12:50:10 +0800
committerFenglin Wu <fenglinw@codeaurora.org>2017-08-16 08:43:57 +0800
commitf1b18303094a8cab5ab3cfb6332a5fdf4c12a945 (patch)
treea4d031e24e15db4695ad0d186434a9fe0fa67723 /net/unix/af_unix.c
parent320e1beadf16fcc4f2d78ddf25b70270866fd63d (diff)
leds: leds-qpnp: Set PWM channel operational mode explicitly
When LED is changing between fully on and blinking, there is a change in PWM/LPG channel operational mode. Use pwm_change_mode() API to notify the mode change to the PWM driver. This way, the operational mode and the underlying configuration for PWM channel can be updated by PWM driver. For example, this will help with the following use cases where the mode can be switched at runtime. 1) When the LED is fully ON, the LPG channel is in PWM mode. 2) When the LED is blinking, the LPG channel is in LPG mode. CRs-Fixed: 2070945 Change-Id: Idd7fc31de085b7b1f97c9bf823dfd49a46164018 Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions