diff options
author | Fenglin Wu | 2017-07-19 08:39:55 +0200 |
---|---|---|
committer | Linus Walleij | 2017-08-31 13:59:15 +0200 |
commit | 4e83ac4cfbde6b300f31f9460b96c67664a792ce (patch) | |
tree | af39129831c92e21770153ed87be6f1ce9e76fcb /lib/debug_locks.c | |
parent | pinctrl: freescale: make mxs_regs const (diff) | |
download | kernel-qcow2-linux-4e83ac4cfbde6b300f31f9460b96c67664a792ce.tar.gz kernel-qcow2-linux-4e83ac4cfbde6b300f31f9460b96c67664a792ce.tar.xz kernel-qcow2-linux-4e83ac4cfbde6b300f31f9460b96c67664a792ce.zip |
pinctrl: qcom: spmi-gpio: Correct power_source range check
Power source selection in DIG_VIN_CTL is indexed from 0, in the range
check it shouldn't be equal to the total number of power sources.
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib/debug_locks.c')
0 files changed, 0 insertions, 0 deletions