From: Mattias Wallin <mattias.wal...@stericsson.com> This patch corrects a bug which makes it impossible to change mode on regulator LDO USB.
Signed-off-by: Mattias Wallin <mattias.wal...@stericsson.com> Signed-off-by: Lee Jones <lee.jo...@linaro.org> Reviewed-by: Marcus COOPER <marcus.xm.coo...@stericsson.com> Reviewed-by: Jonas ABERG <jonas.ab...@stericsson.com> --- drivers/regulator/ab8500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c index cfa01b1..8da7ac9 100644 --- a/drivers/regulator/ab8500.c +++ b/drivers/regulator/ab8500.c @@ -966,7 +966,7 @@ static struct ab8500_regulator_info [AB8505_LDO_USB] = { .desc = { .name = "LDO-USB", - .ops = &ab8500_regulator_ops, + .ops = &ab8500_regulator_mode_ops, .type = REGULATOR_VOLTAGE, .id = AB8505_LDO_USB, .owner = THIS_MODULE, -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/