OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Jul 2019 07:07:07 +0000 (09:07 +0200)
commitd1fe78cac7b9b7cd5460f136b2d9dcb70b83f9d0
treec6120e44e758a2d37f2972b4c29b2cba09ee13e1
parent7fe5f7cd312fa2d947eefc8092a712337132223f
ARM: davinci: da850-evm: call regulator_has_full_constraints()

[ 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