WSL2-Linux-Kernel/drivers/spmi
Christophe JAILLET e98cc182a0 spmi: pmic-arb: Return an error code if sanity check fails
If the test 'if (channel > 5)' is true, then we will return 'err' which
is known to be 0 at this point.
Return -EINVAL instead.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-27 12:43:34 +02:00
..
Kconfig
Makefile
spmi-pmic-arb.c spmi: pmic-arb: Return an error code if sanity check fails 2016-09-27 12:43:34 +02:00
spmi.c spmi: do not use bus internal data 2016-04-30 14:15:56 -07:00