summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2017-03-21 20:38:43 -0700
committerSubbaraman Narayanamurthy <subbaram@codeaurora.org>2017-04-03 13:06:30 -0700
commitafe2750ef3ee3023de1bac9667f76317b1d3a77b (patch)
treefd16eb4f4c1fbac8881583b9b20138af0af72e08 /net/unix/af_unix.c
parentc3cd64df0ace7c4f458e357794a1f227376cc8eb (diff)
leds: qpnp-flash-v2: Fix pinctrl configuration
Currently pinctrl is obtained after it is used to obtain strobe_enable and strobe_disable states. This is incorrect and needs to be fixed. Also, when the switch device is disabled, the pinctrl configuration for GPIO that drives the LED output is selected only when the brightness or current is set to a non-zero value in flash device. To keep it simple, move the pinctrl configuration for GPIO that drives the LED output (e.g. flash LED3) to the switch device so that both flash and torch device need not have to control it. Also, fix the pinctrl configuration for GPIOs that are used to drive flash LED3 output on both 8998 and 660 for functional correctness. Change-Id: If6ec27dd39fd750b6d4311a5e370020961f30e08 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions