Messages in this thread | | | Date | Tue, 27 Sep 2016 15:15:50 -0700 | From | Stephen Boyd <> | Subject | Re: [PATCH] spmi: pmic-arb: Return an error code if sanity check fails |
| |
On 09/26, Christophe JAILLET wrote: > 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> > ---
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Looks right, thanks.
-- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
| |