lkml.org 
[lkml]   [2019]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.14 26/80] ARM: davinci: da850-evm: call regulator_has_full_constraints()
    Date
    [ Upstream commit 0c0c9b5753cd04601b17de09da1ed2885a3b42fe ]

    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>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    arch/arm/mach-davinci/board-da850-evm.c | 2 ++
    1 file changed, 2 insertions(+)

    diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
    index 2f6ac1afa804..686e7e6f2eb3 100644
    --- a/arch/arm/mach-davinci/board-da850-evm.c
    +++ b/arch/arm/mach-davinci/board-da850-evm.c
    @@ -1464,6 +1464,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
    --
    2.20.1


    \
     
     \ /
      Last update: 2019-07-18 05:22    [W:4.106 / U:0.160 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site