From: Mattias Wallin <[email protected]> This patch corrects a bug which makes it impossible to change mode on regulator LDO USB.
Signed-off-by: Mattias Wallin <[email protected]> Signed-off-by: Lee Jones <[email protected]> Reviewed-by: Marcus COOPER <[email protected]> Reviewed-by: Jonas ABERG <[email protected]> --- 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

