summaryrefslogtreecommitdiff
path: root/kernel/locking/spinlock_debug.c
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2018-01-15 12:40:49 -0800
committerSubbaraman Narayanamurthy <subbaram@codeaurora.org>2018-01-18 18:34:02 -0800
commit2e21ea63b32cbf4a2bf082e88b312c304f7353ef (patch)
tree6ad6a4d0d1bf7ef6746a0418fcdd4a92fe9aae09 /kernel/locking/spinlock_debug.c
parent6b202df713d7dafef2df0e9ef1c97c6632c60eac (diff)
leds: qpnp-flash-v2: Update IRES for active LEDs
Currently, whenever the switch LED device is triggered, IRES is updated based on the LEDs belonging to that switch LED device. However, this can overwrite IRES configuration if flash and torch LED devices have different IRES since they share the same id. Fix this by checking the active LED status which will be updated based on the brightness level set so that IRES will be updated for the correct LED (flash/torch) device. CRs-Fixed: 2173127 Change-Id: Ic3b5db2f56758ccd68fd80139aeb22f31723130e Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'kernel/locking/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions