ARM: davinci: da850-evm: call regulator_has_full_constraints()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Fri, 7 Jun 2019 09:02:01 +0000 (11:02 +0200)
committerSekhar Nori <nsekhar@ti.com>
Fri, 14 Jun 2019 10:46:56 +0000 (16:16 +0530)
The BB expander at 0x21 i2c bus 1 fails to probe on da850-evm because
the board doesn't set has_full_constraints to true in the regulator
API.

Call regulator_has_full_constraints() at the end of board registration
just like we do in da850-lcdk and da830-evm.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/board-da850-evm.c

index 4ee65a8..31ae3be 100644 (file)
@@ -1480,6 +1480,8 @@ static __init void da850_evm_init(void)
        if (ret)
                pr_warn("%s: dsp/rproc registration failed: %d\n",
                        __func__, ret);
+
+       regulator_has_full_constraints();
 }
 
 #ifdef CONFIG_SERIAL_8250_CONSOLE