75d39eb538
During the driver refactor, a regression broke the logic inside hi6421_spmi_regulator_get_optimum_mode(). Basically, if a LDO has eco_uA == 0, it doesn't support economic mode. So, it should return REGULATOR_MODE_NORMAL. If economic mode is supported, it can return either REGULATOR_MODE_IDLE or REGULATOR_MODE_NORMAL, depending on the load current. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/f087981eb695eaab8c301c42977a4aa884affbbf.1611212783.git.mchehab+huawei@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
hi6421-spmi-pmic.c | ||
hi6421v600-regulator.c | ||
hisi-spmi-controller.c | ||
hisilicon,hi6421-spmi-pmic.yaml | ||
hisilicon,hisi-spmi-controller.yaml | ||
Kconfig | ||
Makefile | ||
phy-hi3670-usb3.c | ||
phy-hi3670-usb3.yaml | ||
TODO |