Home
last modified time | relevance | path

Searched hist:b1d21a24df458c897911af51cb637460c1ac5d95 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/regulator/
H A Dqcom_spmi-regulator.cdiff b1d21a24df458c897911af51cb637460c1ac5d95 Fri Apr 15 12:44:37 CDT 2016 Stephen Boyd <sboyd@codeaurora.org> regulator: qcom_spmi: Always return a selector when asked

I had a thinko in spmi_regulator_select_voltage_same_range() when
converting it to return selectors via the function's return value
instead of by modifying a pointer argument. I only tested
multi-range regulators so this passed through testing. Fix it by
returning the selector here.

Fixes: 1b5b19689278 ("regulator: qcom_spmi: Only use selector based regulator ops")
Reported-by: Rajendra Nayak <rnayak@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>